grantwood 5 Posted February 28, 2013 Report Share Posted February 28, 2013 I created a function that duplicates the 'trim' function from PHP:http://php.net/manual/en/function.trim.php define $Trim Better(#String to Trim) { return($replace regular expression(#String to Trim, "^[\\s\\t\\r\\n\\0\\x0B]+|[\\s\\t\\r\\n\\0\\x0B]+$", $nothing)) } Regards,Sean 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.