diff --git a/plugins/include/string.inc b/plugins/include/string.inc index 0dc0af42..886c7a34 100755 --- a/plugins/include/string.inc +++ b/plugins/include/string.inc @@ -76,6 +76,9 @@ native parse(const text[], ... ); any number of arguments */ native strbreak(const text[], Left[], leftLen, Right[], rightLen); +/* Strips spaces from the beginning and end of a string. */ +native trim(text[]); + /* Converts all chars in string to lower case. */ native strtolower(string[]);