StringUtilities..::..IndexOf Method (StringBuilder, String, Int32)
Returns the index of the first occurrence of a substring in the StringBuilder, or -1 if not found.
Namespace:
Tortuga.AnchorAssembly: Tortuga.Anchor (in Tortuga.Anchor.dll)
Syntax
public static int IndexOf( this StringBuilder stringBuilder, string value, int startIndex )
<ExtensionAttribute> _ Public Shared Function IndexOf ( _ stringBuilder As StringBuilder, _ value As String, _ startIndex As Integer _ ) As Integer
Parameters
- stringBuilder
- Type: StringBuilder
The StringBuilder to search.
- value
- Type: String
The substring to seek.
- startIndex
- Type: Int32
The starting index for the search.

