# IndexOf *in [Lib.string.search](README.md)* Searches the original string for a search pattern and outputs the position at which the pattern was found ## Input Parameters | Name (Relevancy & Type) | Description | |---|---| | **OriginalString** (String) | String to be analyzed | | **SearchPattern** (String) | Letters, numbers, or combinations to be searched for in the original string | ## Outputs | Name | Type | |---|---| | **Index** | System.Int32 |