webMethods Integration Cloud and Cloud Deployment Documentation 5.6.0 | webMethods Integration Cloud | Integrations, Built-In Services, REST APIs, SOAP APIs, Doc Types, and Recipes | Built-In Services | String | 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.

Copyright © 2014- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.