Answers for "eliminar el primer caracter de un string java"

0

eliminar el primer caracter de un string java

public class pruebaSubstring{
    public static void main(String[] args) {
        String cadena_a,cadena_b,cadena_c="GeekyTheory";
      	//substring(beginIndex,endIndex)
        cadena_a = cadena_c.substring(0,5);
      	//subtring(beginIndex)
        cadena_b = cadena_c.substring(5);
    }
}
Posted by: Guest on May-13-2020

Code answers related to "eliminar el primer caracter de un string java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language