RTRIM$

From QB64 Wiki
Revision as of 21:54, 28 February 2010 by imported>Stylin (updated to new blueprint, added descriptions and example)
Jump to navigation Jump to search

The RTRIM$ function removes trailing space characters from a STRING value.


Syntax

result = RTRIM$( value$ )


Description

  • value$ is the STRING value to trim.
  • If value$ contains no trailing space characters, value$ is returned unchanged.


Examples

PRINT RTRIM$("some text") + "." PRINT RTRIM$("some text ") + "." PRINT RTRIM$("Tommy ")

some text. some text. Tommy


See also



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page