Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to identify a tab in a string 1

Status
Not open for further replies.

steven54

Programmer
Jul 4, 2009
22
US
My code searches for a tab from a text file. However, the tab appears as a square box when viewing the contents of the string in the Watch window. The tab consists of four characters. I tried to copy the square box from the Watch window but it just adds four spaces in the code:

stringLocation = InStr(1, tempString, " ")

I have also tried moving the two strings around like this:

stringLocation = InStr(1, " ", tempString)

How do I identify the tab in a string?

Thank you!
 


vbTab

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Skip, Thank you! Sometimes these simple things are so difficult to get past :)

Here is a star for your time!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top