Class StringExtensions
Namespace: Unity.MemoryProfiler.Editor.Extensions.String
Syntax
public static class StringExtensions
Methods
IndexOf(String, Int32, String)
IndexOf extension using the Boyer-Moore string search algorithm, returns the index to the start of the first occurrence of the provided pattern.
Declaration
public static int IndexOf(this string src, int startIndex, string pattern)
Parameters
Type | Name | Description |
---|---|---|
String | src | |
Int32 | startIndex | |
String | pattern |
Returns
Type | Description |
---|---|
Int32 |