lets say i got a few string exp:

11111233NR+0001030 210NNR
99NR+001030 339NNE

each substring got dif meaning ....11111 for the ID , NNR for the location. etc

do you have any idea how to split them in each substring.

pls help me...

I'm so sorry I don't have a vb installed on my pc. I just reformated it.. try using this one as a partial code.

ID= left$(str,5)
str= mid(str,5)

hope it help.

though the problem here is that you the str is being crop continuously... try solving it.. you can do it..

this is if you dont have any delimeter, just wanted to seperated strings.

I'm so sorry I don't have a vb installed on my pc. I just reformated it.. try using this one as a partial code.

ID= left$(str,5)
str= mid(str,5)

hope it help.

though the problem here is that you the str is being crop continuously... try solving it.. you can do it..

this is if you dont have any delimeter, just wanted to seperated strings.

just a suggestion:
use another text box for another string you want to separate...

thnx ..... im happy to join this forum....

If you have any problem with string handling, remember it is not because of VB. I will tell you the clue if you are interested.

regards
AV Manoharan

then what are you waiting for ?

im new to VB , now im in practical studies , so now i have to do this programming regarding open a batch file , read , and trace error as an output for the program.....

This article has been dead for over six months. Start a new discussion instead.