F
focode
i have opened an HttpConnection to my url (www.schoolssmart.in/mdm/
abc.php" then oped a input stream on this connection , read the data
in byte[] data = new byte[length];
in.read(data);
then converted this into string by
String response = new String(data);
and then displays it ..
the content of the response is arunesh class1 office ...etc
i want to collect this string individually in string array such that
str[1] = arunesh
str[2]=class1
str[3]=office and so on ..
i can do this by reading the space and putting some logic to separate
individual string ...Is their any stander ed way to do this in java ?
abc.php" then oped a input stream on this connection , read the data
in byte[] data = new byte[length];
in.read(data);
then converted this into string by
String response = new String(data);
and then displays it ..
the content of the response is arunesh class1 office ...etc
i want to collect this string individually in string array such that
str[1] = arunesh
str[2]=class1
str[3]=office and so on ..
i can do this by reading the space and putting some logic to separate
individual string ...Is their any stander ed way to do this in java ?