How to find the offset of the first character in a string that's not a tab?

Curry Kenworthy curry at pair.com
Thu Jan 21 12:24:08 EST 2021


Always remember who is the computer, and who is the coder!

The computer may need to perform a loop under the hood, but that doesn't 
mean you need to use the "repeat" keyword.

It's often cleaner/faster when you don't. For those who value concise 
code and good performance in LiveCode, avoid unnecessary repeats.

Several other methods - regex as already suggested, or replace, word (if 
you're also skipping spaces), etc....

Best wishes,

Curry Kenworthy

Custom Software Development
"Better Methods, Better Results"
LiveCode Training and Consulting
http://livecodeconsulting.com/




More information about the use-livecode mailing list