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);
}
}
Also in Java:
- hello world java
- dictionary in java
- java how to make a gui
- padding a string with 0 in java
- java timestamp
- finding min and max from given number in java
- write file from a specific location in java
- how to get witdth of window android
- store string elements in character array in java
- java bucket sort
- java nested loop
- one line if statement java
- Java int to roman
- java string to boolean
- java list all non directory files in the directory
- java stream sort
- java fx display simple rectangle
- thread sleep java
- stack class in java
- expression régulière seulement un espace java
- create java windows application
- create notification android
- dataframe to dict without index
- reentrantreadwritelock java