Porovnávané verzie

Kľúč

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

%Trim function


Function
The function removes trailing spaces or other characters from the specified text string.


Declaration


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


Parameters


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


Example


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



Info
titleRelated pages:

Implemented functions
Function arguments - types

%Trim function

Function
The function removes trailing spaces from the specified text string.
Declaration
Blok kódu
languageesl
themeConfluence
TEXT %Trim(
   TEXT in string
 )
Parameters
stringText string.
Example
Blok kódu
languageesl
themeRDark
%Trim("  Text Some Text  ")      ; returns the value of "Text Some Text"
Info
titleRelated pages:

Implemented functions
Function arguments - types