Let me go back to original comment concerning the tabs:
I am trying to check for the presence of no Tabs in a file.
I assume the text is already created and you just need to go thru and verify the first character (paragraph 1) is not a tab, and that the beginning of other paragraphs contain tabs? If this is true, the question is how to determine the it is a beginning of paragraph in order to ensure there is a tab there. This for example, would be incorrect data because para 2 does not begin with a tab:
blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh.
blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh.
{TAB}blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh.
{TAB}blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh.
Is this what you are trying to determine, and if so, the question as I mentioned is how do we know para 2 is the beginning of a new paragraph?
If I get a little better handle on the problem I should be able to put some code together for you to solve your problem.
Jim Osieczonek
Delta Business Group, LLC