Comparing Strings

Dar Scott dsc at swcp.com
Tue Nov 14 16:38:33 EST 2006


On Nov 14, 2006, at 1:42 PM, Dan Friedman wrote:

> Pretty simple, I know... But it works  :)

You hit upon one of the methods used to do a comparison that forces a  
string comparison instead of allowing a numerical comparison.  This  
is handy in comparing binary data, too.  Another simple method, but  
usually not as fast, is "Z"&x = "Z&y since no strings starting with  
"Z" is a numeral.

It would be nice to have a built-in function for this.

Dar



More information about the use-livecode mailing list