You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

RTRIM$ returns a string value without spaces (and CrLf's) following it

Syntax

RTRIM$(StrExpr$, [Mode%=0,1])

Arguments

  • String Expression is a string value. NullString is considered as a DETERMINED empty string.
  • Mode% are options:
  • Mode%=0 or omitted, RTRIM$ returns a string value without spaces on the right side.
  • Mode%=1 RTRIM$ returns a string value without spaces or CrLf's (Carriage return Linefeeds) on the right side.

Examples

RTRIM$(" Qnowledge 
", 0)

returns

" Qnowledge 
"


RTRIM$(" Qnowledge 
", 1)

returns

" Qnowledge"


  • No labels