FUNCTION xpfTrimString (actualString : STRING; -- actual string to be trimmed prefixChars : STRING; -- optional; used in the TRIM_STRING_PREFIX option suffixChars : STRING; -- optional; used in the TRIM_STRING_SUFFIX option options : INTEGER) trimmedString : STRING; -- resulting trimmed string
Use this function to ....
Arguments
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_a_actualString'.
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_a_prefixChars'.
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_a_suffixChars'.
Error rendering macro 'excerpt-include' : No link could be created for 'US:_a_options'.
Return Value
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_trimmedString'.
Options
Error rendering macro 'excerpt-include' : No link could be created for 'US:_o_XPX_TRIM_STRING_PREFIX_ALL_NON_PRINTABLE_CHARS'.
Error rendering macro 'excerpt-include' : No link could be created for 'US:_o_XPX_TRIM_STRING_SUFFIX_ALL_NON_PRINTABLE_CHARS'.
Error rendering macro 'excerpt-include' : No link could be created for 'US:_o_XPX_TRIM_STRING_SUFFIX'.
Error rendering macro 'excerpt-include' : No link could be created for 'US:_o_XPX_TRIM_STRING_PREFIX'.
Error rendering macro 'excerpt-include' : No link could be created for 'US:_o_XPX_TRIM_STRING_PREFIX_WHITE_SPACE'.
Error rendering macro 'excerpt-include' : No link could be created for 'US:_o_XPX_TRIM_STRING_SUFFIX_WHITE_SPACE'.
Example
<example missing>
See also
Filter by label
There are no items with the selected labels at this time.
xpfTrimString
FUNCTION xpfTrimString (actualString : STRING; -- actual string to be trimmed prefixChars : STRING; -- optional; used in the TRIM_STRING_PREFIX option suffixChars : STRING; -- optional; used in the TRIM_STRING_SUFFIX option options : INTEGER) trimmedString : STRING; -- resulting trimmed string Available options: TRIM_STRING_PREFIX : remove the given prefixChars at the beginning of the string TRIM_STRING_SUFFIX : remove the given suffixChars at the end of the string TRIM_STRING_PREFIX_ALL_NON_PRINTABLE_CHARS : Remove all non printable characters at the beginning of the string Non printable characters are the character with the following ASCII values: ( 0 < char <= 31) and (127 < char <= 160) TRIM_STRING_SUFFIX_ALL_NON_PRINTABLE_CHARS : Remove all non printable characters at end of the string TRIM_STRING_PREFIX_WHITE_SPACE : Remove all spaces at the beginning of the string TRIM_STRING_SUFFIX_WHITE_SPACE : Remove all spaces at the end of the string The function: FUNCTION xpxTrimString (VAR actualString : STRING; prefixChars : STRING; suffixChars : STRING; options : INTEGER) status : INTEGER; has the same functionality, same arguments and options, as the xpfTrimString function, except the "actualString" will be trimmed, i.e., this function will not return the trimmed string, but change the "actualString". Hans Karsten