0
How to split a String into separate Strings?
How to - 'My Name is Shashank' to 'My name is' and 'Shashank'
4 ответов
+ 1
String name = "My name is ..";
name.split(" ' ' ");
0
Is "my name is" are const on all cases?
0
Yes
0
Then you can just make sub string start from the index of the name because it's const