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"


 

Quick links: Functions overview | Attribute overview | Constants overview | Dimensions overview


  • No labels