Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Cloud | Built-In Services | Built-In Services | indexOf
 
indexOf
Returns the index of the first occurrence of a sequence of characters in a string.
Input Parameters
inString
String String in which you want to locate a sequence of characters.
subString
String Sequence of characters to locate.
fromIndex
String Optional. Index of inString from which to start the search. If no value is specified, this parameter contains 0 to indicate the beginning of the string.
Output Parameters
value
String Index of the first occurrence of subString in inString. If no occurrence is found, this parameter contains -1.