Text Component

Fnd_Text_StripSpaces

Fnd_Text_StripSpaces (text{; options}) -> Text

Legacy manual page 239

Parameters

ParameterTypeDescription
textTextText to strip spaces from
optionsLongintOptions to remove spaces (optional)
Function resultTextText with spaces stripped

Description

This function returns text with spaces removed. If options = 1, the function will remove only leading spaces. If options = 2, the function will remove only trailing spaces. If options = 4, the function will remove only double spaces within the text.

$stripped_t:=Fnd_Text_StripSpaces (" strip                  spaces ")
Extracted source text
            Fnd_Text_StripSpaces (text{; options}) ➜ Text

              Parameter                Type                 Description
              text                     Text                 Text to strip spaces from
              options                  Longint              Options to remove spaces (optional)
              Function result          Text                 Text with spaces stripped

            This function returns text with spaces removed. If options = 1, the function will remove only leading
            spaces. If options = 2, the function will remove only trailing spaces. If options = 4, the function will
            remove only double spaces within the text.
              $stripped_t:=Fnd_Text_StripSpaces (" strip                  spaces ")