Vidíte historickú verziu tejto stránky. Pozrite si aktuálnu verziu.

Porovnať s aktuálnou verziou Zobraziť históriu stránky

« Predchádzajúce Verzia 2 Aktuálny »

%HeadStr (%LeftStr) function


Function
The function returns a specified number of characters from a string, starting with the leftmost character.
Declaration
TEXT %HeadStr(
   TEXT in String, 
   INT in length
 )
 
 
 
TEXT %LeftStr(
   TEXT in String, 
   INT in length
 )
Parameters
stringText string that function returns characters from.
lengthNumber of characters returned from the text string.
Note
If the string is longer than the number defined in the parameter length, the function returns as many leftmost characters as specified by the parameter length.

If the string is shorter than the number defined in the parameter length, spaces are added into the result string according to the length specified by the parameter length.
  • Žiadne štítky