getSuffixIgnoreCase()
Table of Contents
Overview
The getSuffixIgnoreCase() function returns all the characters that follow the first occurrence of searchText in the inputText. If the searchText is not found, this function returns null.
Note:
- This task performs a case-insensitive search. In order to perform a case-sensitive search, use the getSuffix built-in function.
- The size of each input and output parameter of this function can individually be up to 300 KB.
Return Type
- TEXT
Syntax
<variable> = <inputText>.getSuffixIgnoreCase(<searchText>);
(OR)
<variable> = getSuffixIgnoreCase(<inputText>, <searchText>);
Parameter | Data type | Description |
---|---|---|
<variable> | TEXT | Variable which will contain the returned characters. |
<inputText> | TEXT | The text from which all the characters following the searchText will be returned. |
<searchText> | TEXT |
|
Example
The following example searches for the text - AND in the inputText and returns its suffix.inputText = "Split the text and get suffix of \"and\"" ; newText = inputText .getSuffixIgnoreCase ( "AND" ) ; info newText ; // Returns "get suffix of "and"