I am getting the response from the web service as follows:
response = (SoapPrimitive) envelope.getResponse();
String result = response.toString();
The “result” is a long string that consist “CredentialAccepted < / > FirstName < / > LastName < / > Picture”. I need to split this result at the tags < / >. I tried the following but BlackBerry does not support. Any help?
List<String> list_result = Arrays.asList(result.split("</>"));
Something like that: