I\'ve been developing an Android app for the past 4 Months now and came across the following regarding the split function:
String [] arr; SoapPrimitive resul
Following code can be used for any pattern splitting.
String.split(Pattern.quote("any pattern you would like here !"));
arr = result.toString().trim().split("\\|");
the param of String.split accept a regular expression.