Home > lang > rtrim 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
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 strictly lower than 32.

RTrim is optimized so that the Expr string is not internally duplicated during the stripping.

Example

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

<Gambas>

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

<  Gambas>

See also

String Functions, LTrim$, Trim$