Integration Server 10.5 | Built-In Services Reference Guide | String Folder | Summary of Elements in this Folder | pub.string:indexOf
 
pub.string:indexOf
WmPublic. 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.