Below the following code
Public static void testsplite () {
String Num = New String ("23232.45454.77");
String a [] = num.split (".");
System.out.println ("SSS:" a.length;
For (int i = 0; i
System.out.println (i ":" a [i]);
}
}
There is no result, one track, found A.Length = 0. So I check the API, the parameters of Spilit are regular expressions.
Modify to string a [] = Num.split ("//."); Everything is OK.