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

25th Feb 2024, 3:07 AM
Caleb💯
Caleb💯 - avatar
4 Answers
25th Feb 2024, 3:49 AM
JaScript
JaScript - avatar
0
charAt(index) substring(start, end)
25th Feb 2024, 3:36 AM
Mohamed Beder Oumar
Mohamed Beder Oumar - avatar
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.
27th May 2024, 4:44 PM
Jivaansh Yadav
Jivaansh Yadav - avatar