Description |
Removes characters from the beginning and/or end of the specified text and places the result in a variable. Used to take spaces off the beginning or end of a text value. These spaces can sometimes be cause by data-entry error or formatting routines from external applications. |
Declaration |
<AMTEXTREMOVE TEXT="text" REMOVE="text" CHARACTERS="text" ACTION="text [options]" RESULTVARIABLE="text [varibable name]"> |
Example |
<AMVARIABLE NAME="thevariable"> this
text has spaces on the front</AMVARIABLE> |
General Tab Parameters |
Text to remove from: Specifies the text to trim. Text, Required Remove from: Specifies how the text is trimmed.
Text [options], Optional (default: beginning and end) Remove: Specifies the character(s) to remove from the string.
Text [options], Optional - Default: Whitespace Characters to remove: If Remove is set to User Defined, specifies the user defined characters to remove.. Text, Required if Remove is "user" Populate variable with result: Specifies the variable to receive the new formatted value. Text [variable name], Required |