How to tell if a text file has tabs in it ?

How can I tell i a text file has tabs in it? I have  vb.net code, but it is not recognizing the tabs, so I am wondering if there are actually tabs in the text file.
LVL 2
brgdotnetcontractorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dr. KlahnPrincipal Software EngineerCommented:
The legacy method would be to read the text file line by line, parsing each line to see if there is a 0x11 / HT / horizontal tab character in any byte.

Regrettably that method works 100% only in ASCII / UTF-8 source files.  For files encoded in other character sets the situation is more complicated.
0
brgdotnetcontractorAuthor Commented:
Thanks. Is there any editing tool which might physically show the actual tab? I Think the old Word Perfect use to allow for that type of feature. It would be real nice if I could somehow examine the file, and observe the embedded control characters.
0
Dr. KlahnPrincipal Software EngineerCommented:
If Microsoft Word is set to "Show / hide paragraph marks" it will show all special characters, including tabs.

Word "Show/hide paragraph marks"
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.