Trim$

Result = Trim$ ( String )

Strips white spaces from a string. A white space is any character whose ASCII code is stricly lower than 32.


Example

PRINT "<"; Trim$("Gambas"); ">"

<Gambas>


PRINT "<"; Trim$("  \nGambas " & Chr$(9) & " "); ">"

<Gambas>


See also

LTrim$ | Left$ | Lower$ / LCase$ | Mid$ | RTrim$ | Replace$ | Right$ | Space$ | Split | String$ | Subst$ | Trim$ | Upper$ / UCase$