The answer
Thx!
I found an other way easier than everything that i saw
each variable have a limited number of space to use, it cant pass over it
so with the length of my string i did a substring then a trimend! i got all what i needed!
User Profile
Collapse
-
Yeah.. sorry, it's the first time that i'm writing on a page like that...
ok that's what i tried, it worked for quite all of them and i had a problem with only one..
it's one of my contrustor...
so while im searching in my string i'm looking first, if it's not a space then i'm putting in the good variable, then after, if the caracter it's a space, i'm gonna look if the caractor next to it (i+1) it,s a space to, then after if...Last edited by tlhintoq; Feb 22 '10, 04:53 PM. Reason: [CODE] ...Your code goes between code tags [/CODE]Leave a comment:
-
extract information from a string with a lot of spaces
ok I have this string and other similar( ull find them in the attachment)
"BRUNEI BANDAR SERI BEGAWAN 5770 343653"
I need to extract BRUNEI, BANDAR SERI BEGAWAN, 5770 and 343653
but i cant find a way to do it that work for all my string that i have..
Can someone help me on that plz..
thx...
No activity results to display
Show More
Leave a comment: