SQUEEZE

r = SQUEEZE (s)

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

Example:

s = " Hi  there "
print "["; s ; "]"
print "["; SQUEEZE(s); "]"

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