0
Split function not work !!!!
String str ="Mahmood$_$Ali"; String[] strArray =str.split("$_$"); for(String s : strArray ) System.out.println(s);
5 Respostas
+ 2
Method split uses regular expressions. If you want to prevent that, you have to use the escape sequence:
String str ="Mahmood$_$Ali";
String[] strArray =str.split("\\$\\$_\\$\\quot;);
for(String s : strArray )
System.out.println(s);
+ 2
first problem,
str.split()
you have ... str.splite()
+ 1
thank you...
0
what
0
is