Difference between revisions of "RTRIM$"

From QB64 Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
'''RTRIM$''' removes spaces from the end(right) of a string value.
 
'''RTRIM$''' removes spaces from the end(right) of a string value.
  
''Example:'' name$ = RTRIM$("Tommy::: ")
+
''Example:'' name$ = RTRIM$("Tommy   ")
 
''Returns:'' name$ = "Tommy"
 
''Returns:'' name$ = "Tommy"

Revision as of 03:59, 28 August 2009

RTRIM$ removes spaces from the end(right) of a string value.

Example: name$ = RTRIM$("Tommy ") Returns: name$ = "Tommy"