0
java string
please how can i get a single character of a string and how can i cut a string in java please i need examples
3 odpowiedzi
+ 1
This will help you:
https://sololearn.com/compiler-playground/cpf4y6v4M871/?ref=app
0
charAt(index)
substring(start, end)
0
You can use charAt();
Ex-
String a = "Caleb";
char b = a.charAt(1);
You can use it to satisfy your program need..
I hope now your problem is solved.