+ 2

Write a program using String split function?

3rd Jul 2018, 7:04 AM
Shamsulhaq Alkozay
Shamsulhaq Alkozay - avatar
2 ответов
+ 3
public static void main(String[] args) { String tokens = "abc,def,ghi,jkl"; for(String token : tokens.split(",")){ System.out.println(token); } }
3rd Jul 2018, 2:56 PM
Enrico Menabeni
Enrico Menabeni - avatar
+ 6
You... write a program using string split function 😶
3rd Jul 2018, 8:21 AM
᠌᠌Code X
᠌᠌Code X - avatar