Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%RightTrim function


Old name
%RTrim
Function
The function removes trailing spaces or other characters from the end of the specified text string.
Declaration


Blok kódu
languageesl
themeConfluence
TEXT %RightTrim(
   TEXT in string
   TEXT in charToRemove := " "
)
Parameters


stringText string.
charToRemoveA character that will be removed from the the end of the string (optional parameter).
Example


Blok kódu
languageesl
themeRDark
%RightTrim("  Text Some Text  ")        ; returns the value of "  Text Some Text"
%RightTrim("..Text Some Text....")      ; returns the value of "..Text Some Text"