I am attempting to populate a listbox from a text file. I would like
my result to get everything after that last "/" character. This code
gets everything before.
Do While objReader.Peek( ) <> -1
TextLine = objReader.ReadL ine()
TextLine = TextLine.Substr ing(0, TextLine.LastIn dexOf("/"c))
MsgBox(TextLine )
Loop
Example:
Applications/AS - ED Tracking Board/EDTB Train
I would like it to result to this
EDTB Train
Instead I am getting this:
Applications/AS - ED Tracking Board
thanks
my result to get everything after that last "/" character. This code
gets everything before.
Do While objReader.Peek( ) <> -1
TextLine = objReader.ReadL ine()
TextLine = TextLine.Substr ing(0, TextLine.LastIn dexOf("/"c))
MsgBox(TextLine )
Loop
Example:
Applications/AS - ED Tracking Board/EDTB Train
I would like it to result to this
EDTB Train
Instead I am getting this:
Applications/AS - ED Tracking Board
thanks
Comment