TRIM

r = TRIM(s)

Removes all leading and trailing white-space from string s.

Example

s = "   test   "
t = trim(s)
print "->" + s + "<-"
print "->" + t + "<-"

' Output:
' ->    test    <-
' ->test<-
String
If there is insufficient information on this page and you wish learn more about TRIM, please send an email to smallbasic@gmail.com. You can help to improve information about TRIM by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.