SQUEEZE
r = SQUEEZE (s)
Removes all leading, trailing and duplicated white-space from string
s
.
Example:
" Hi there "
s = print "["; s ; "]"
print "["; SQUEEZE(s); "]"
'Output:
' [ Hi there ]
' [Hi there]
Code samples using SQUEEZE
String
ASC
BCS
BIN
CBS
CHOP
CHR
DISCLOSE
ENCLOSE
FORMAT
HEX
INSTR
JOIN
LCASE
LEFT
LEFTOF
LEFTOFLAST
LOWER
LTRIM
MID
OCT
REPLACE
RIGHT
RIGHTOF
RIGHTOFLAST
RINSTR
RTRIM
SINPUT
SPACE
SPC
SPLIT
SPRINT
SQUEEZE
STR
STRING
TRANSLATE
TRIM
UCASE
UPPER
VAL
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.