Regular expressions - detecting whitespace
J. Landman Gay
jacque at hyperactivesw.com
Wed Aug 13 15:09:01 EDT 2003
On 8/13/03 2:33 PM, Jim Witte wrote:
> What kind of regular expression can I use to detect if a string is
> entirely whitespace (space, tab, or return)? I tried "^([\s|\t|\n]*)"
> but that didn't work.
If you aren't set on using regex, there's a fast native way that I
always use:
if the number of words in myString = 0 then...
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list