Results 1 to 2 of 2
Thread: spilt string into many strings
- 11-28-2011, 01:31 PM #1
Member
- Join Date
- Nov 2011
- Posts
- 1
- Rep Power
- 0
spilt string into many strings
Respected sir,
String s=”age<=10 height<=99 result_positive age<12 height<=111 result_negative age<=20 height<=125 result_positive age<=25 height<=167 result_positive”;
I need to spilt the above string into multible strings based on result_positive and result_negative like below
String s1= age<=10 height<=99 result_positive ;
String s2= age<12 height<=111 result_negative;
String s3= age<=20 height<=125 result_positive;
String s4= age<=25 height<=167 result_positive;
Please provide a solution for that.
- 11-28-2011, 01:39 PM #2
Similar Threads
-
If string does not match a number of strings problem
By Interista in forum New To JavaReplies: 2Last Post: 11-17-2011, 04:49 PM -
string replaceall occurences with strings inside arrays
By DeCoolJB in forum New To JavaReplies: 1Last Post: 10-08-2011, 05:41 AM -
How to string.indexOf for multiple strings and return first instance?
By Arrowx7 in forum New To JavaReplies: 2Last Post: 06-10-2011, 07:15 AM -
Test for all empty Strings in LinkedHashMap<String,ArrayList<String>
By albertkao in forum New To JavaReplies: 1Last Post: 11-04-2010, 06:53 PM -
how to at strings to a string like a table
By petrosgraf in forum New To JavaReplies: 14Last Post: 09-24-2009, 12:00 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks