Choose where you’d like to start

getSuffixIgnoreCase()

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>);
ParameterData typeDescription
<variable>TEXTVariable which will contain the returned characters.
<inputText>TEXTThe text from which all the characters following the searchText will be returned.
<searchText>TEXT


The searchText whose occurrence will be checked in the inputText.

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" 

Related Links

Get Started Now

Execute