> What's the most economical way of checking that a string contains > only certain characters? I'm just trying to check if a string > contains letters, digits and underscores, and nothing else.
One way: function stringCheck pString repeat for each char C in pString if C is not in "abcdefghijklmnopqrstuvwxyz1234567890_" then \ return false end repeat return true end stringCheck Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: [EMAIL PROTECTED] W: http://www.tactilemedia.com _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution