Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 213 Bytes

795-string-rtrim.markdown

File metadata and controls

16 lines (9 loc) · 213 Bytes

RTRIM

r = RTRIM (s)

Removes trailing white-spaces from string s.

Example

s = "  abcd  "

print ">" + s        + "<"    ' Output: >  abcd  <
print ">" + rtrim(s) + "<"    ' Output: >  abcd<