[ad_1]
why don’t you use split method
String[] split = line1.split(",");
System.out.println(split[1]);
output
part2
[ad_2]
solved Substring of string is not working the way i want [closed]
[ad_1]
why don’t you use split method
String[] split = line1.split(",");
System.out.println(split[1]);
output
part2
[ad_2]
solved Substring of string is not working the way i want [closed]