RTrim$
sResult = RTrim$ ( sExpr AS String ) AS String
sResult = RTrim ( sExpr AS String ) AS String
Strips white spaces from the right of the
String sExpr.
A white space is any character whose ASCII code is lower or equal than 32.
RTrim
is optimized so that the Expr string is not internally duplicated during the stripping.
Examples
PRINT "<"; RTrim$("Gambas"); ">"
PRINT "<"; RTrim$(" Gambas "); ">"
See also