How about an RegEx that removes all characters that aren't tabs and 
then count the remainder. If CF's RegEx engine supported \t it would be 
really easy. You'll have to substitute something legit for "::TAB::". I 
tried something like, REReplace(strOrderFile, #Chr(9)#, "", "ALL") in 
the past and I seem to remember that it blew up. Let me know if you 
find something that works.

- Set strOrderFile = " ... "
- Set intNumberOfTabs = Len(REReplace
(strOrderFile, "[^::TAB::]", "", "ALL"))

or, with Array conversion



------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to