How to test if a field does not contain anything else than returns or tab ?
DunbarX at aol.com
DunbarX at aol.com
Tue Feb 3 13:03:32 EST 2009
This was a big thread on the HC list a few years back. Spaces are odd, in
that they are not word delimiters. Although they are. One space between two word
is two words, as is ten spaces between them. In HC:
get the number of words of "a b c" --two spaces between the chars,
returns 3
And this....
set the itemDelimiter to space
get the number of items of "a b c" --returns 1
Space is just a special kind of character, and it is hard to get the white,
er, space.
Does Rev have more powerful tools?
Craig Newman
**************
Great Deals on Dell Laptops. Starting at $499.
(http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad.
doubleclick.net/clk;211531132;33070124;e)
More information about the use-livecode
mailing list