Porovnávané verzie

Kľúč

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

%TailStr (%RightStr) function


Function
The function returns a specified number of rightmost characters from a string.


Declaration


Blok kódu
languageesl
themeConfluence
TEXT %TailStr(
   TEXT in string, 
   INT in length
 )


 


 


 



Blok kódu
languageesl
themeConfluence
TEXT %RightStr(
   TEXT in string, 
   INT in length
 )


Parameters


stringText The text string that function returns characters from.
lengthNumber The number of characters returned from the text string.


Note

If the string is longer than the the number defined in the parameter length, the function returns as many last characters as specified by the parameter length.

If the string is shorter than the number defined in the parameter length, spaces are added into to the result string according to the number specified by the parameter length.