Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
languagecpp
themeConfluence
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 ....will return the trimmed version of the actualString based on the the given prefix/suffix and options

Arguments

...

Insert excerpt
US:_a_actualString
US:_a_actualString
nopaneltrue
Insert excerpt
US:_a_prefixChars
US:_a_prefixChars
nopaneltrue
Insert excerpt
US:_a_suffixChars
US:_a_suffixChars
nopaneltrue
Insert excerpt
US:_a_options_XPX
US:_a_options_XPX
nopaneltrue

Return Value

...

 

Insert excerpt
US:_r_trimmedString
US:_r_trimmedString
nopaneltrue

Options

...

Insert excerpt
US:_o_XPX_TRIM_STRING_PREFIX_ALL_NON_PRINTABLE_CHARS_XPX
US:_o_XPX_TRIM_STRING_PREFIX_ALL_NON_PRINTABLE_CHARS_XPX
nopaneltrue
Insert excerpt
US:_o_XPX_TRIM_STRING_SUFFIX_ALL_NON_PRINTABLE_CHARS_XPX
US:_o_XPX_TRIM_STRING_SUFFIX_ALL_NON_PRINTABLE_CHARS_XPX
nopaneltrue
Insert excerpt
US:_o_XPX_TRIM_STRING_SUFFIX_XPX
US:_o_XPX_TRIM_STRING_SUFFIX_XPX
nopaneltrue
Insert excerpt
US:_o_XPX_TRIM_STRING_PREFIX_XPX
US:_o_XPX_TRIM_STRING_PREFIX_XPX
nopaneltrue
Insert excerpt
US:_o_XPX_TRIM_STRING_PREFIX_WHITE_SPACE_XPX
US:_o_XPX_TRIM_STRING_PREFIX_WHITE_SPACE_XPX
nopaneltrue
Insert excerpt
US:_o_XPX_TRIM_STRING_SUFFIX_WHITE_SPACE_XPX
US:_o_XPX_TRIM_STRING_SUFFIX_WHITE_SPACE_XPX
nopaneltrue

 

Example

...

<example missing>

...

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "string" and parent = "5636522"

 

 xpfTrimString

...

"

...