Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
FUNCTION xpfFindCharInString (str                 : STRING;
                              char                : STRING(1)

...

 FIXED;
                              startIndex          : INTEGER);
                              indexOfMatchingChar : INTEGER;
                

The function xpfFindCharInString searches a string str for the character char. The argument startIndex (starting from one) defines the index in str to start searching for char. The first character in a string has the index of one. If char is found in str then the index of the character char in str is returned as the function value. If char is not found in str zero is the returned function value.

Arguments

...

TypeNameComment
STRINGstrInput string
STRING(1) FIXEDcharThe character to be searched for
INTEGERstartIndexindex of the character in the string

Return Value

...

 

TypeNameComment
INTEGERindexOfMatchingCharIndex of the first occurrence of the given character

Options

...

 

Example

...

Code Block
languagecpp
<Missing Example>

 

See also

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