Text formatting (system words)

Text formatting system functions provide operations for formatting characters and numbers, such as converting characters to upper- or lower- case, or clipping trailing blanks and null numbers, as shown in the next table.

System word Description
strLib.characterAsInt
characterAsInt (characterExpression)
Converts a character string into an integer string.
strLib.clip
clip (characterItem)
Deletes trailing blank spaces and nulls from the end of returned character strings.
strLib.formatNumber
formatNumber 
(numericExpression, numericFormat)
Returns a number as a formatted string.
strLib.integerAsChar
integerAsChar (IntegerExpression)
Converts an integer string into a character string.
strLib.lowerCase
lowerCase(characterItem)
Converts all uppercase values in a character string to lowercase values.
strLib.spaces
spaces (characterCount)
Returns a string of a specified length.
strLib.upperCase
upperCase (characterItem)
Converts all lowercase values in a character string to uppercase values.