dsylebee
06-27-2009, 01:13 AM
hi all I have many strings and its like this
word1,word2
I would like to make a sort of split method which would store word1 into a string and word2 in a string
String stringToCut = "word1, phrase is here";
String s1, s2;
// seperated by the , :)
s1 = manage a way to store the first half in here;
s2 = manage to store the second half in here;
I cant use spaces and read next string cause the second string sometimes has spaces. thnx in advance.
word1,word2
I would like to make a sort of split method which would store word1 into a string and word2 in a string
String stringToCut = "word1, phrase is here";
String s1, s2;
// seperated by the , :)
s1 = manage a way to store the first half in here;
s2 = manage to store the second half in here;
I cant use spaces and read next string cause the second string sometimes has spaces. thnx in advance.