Rtrim

Remove trailing spaces from a string.

Syntax
      Rtrim(string)

Key
   string    A text string or string expression.

Examples

Dim strDemo
strDemo = Rtrim("The world is everlasting      ")
Returns "The world is everlasting"

“The hands of every clock are shears, trimming us away scrap by scrap, and every time piece with a digital readout blinks us towards implosion” ~ Dean Koontz

Related:

Right - Extract a substring from a string
LTrim - Remove leading spaces from a string.
Trim - Remove leading and trailing spaces from a string.


 
Copyright © SS64.com 1999-2019
Some rights reserved