New course! Every coder should learn Generative AI!
Try a free lesson0
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 Answers
+ 2
Hi Caleb💯
You can go through below links
https://www.geeksforgeeks.org/java-string-charat-method-example/
https://www.geeksforgeeks.org/substring-in-java/
0
charAt(index)
substring(start, end)
0
This will help you:
https://sololearn.com/compiler-playground/cpf4y6v4M871/?ref=app