Left() and Mid() reading tab spacing
Posted on 2003-10-26
i have tabs separating fields in a .txt file.
the only way that i can get the Left() or Mid() statement to work right is if i take out the tabs and put in all spaces up to the max character position.
is there any way that i can read tab spaces. my code says:
If thefile.AtEndOfStream = False Then
thetext = thefile.ReadLine
lblname.Caption = Left(thetext, 24)
(with tab spacing), when i put a breakpoint in my program, i want thetext to read "Timmy Thompson", but instead it reads "Timmy Thompson13OH".....where 13 and OH are age and state. but still it doesn't read the tabspacing.
i know this may not seem real clear, but either is my head right now....if you need more specification, let me know....otherwise, your help is appreciated.