What would be the most efficient way to check a variable and replace any of
the characters with empty if the character is not a alpha (upper or lower),
numeric (0-9) or a '-'?

The only way I can think of doing this is a repeat loop and checking the
value of each character and replacing with empty if not alpha, numeric or
'-'.

Any other suggestions for more efficient code?

Thanks,
Warren
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to