'Declaration Public Shared Function FindTextInstances( _ ByVal what As System.String, _ ByVal where As System.String, _ ByVal fromIdx As System.Integer, _ ByVal length As System.Integer, _ ByVal maxCount As System.Integer, _ ByVal forward As System.Boolean, _ ByVal matchCase As System.Boolean, _ ByVal word As System.Boolean _ ) As System.Collections.Generic.IList(Of Integer)
Parameters
- what
- The text to search for.
- where
- The string to search.
- fromIdx
- Index in "where" to start search at.
- length
- Length of substring to search in.
- maxCount
- Max number of instances to find.
- forward
- Search direction.
- matchCase
- Ignore case.
- word
- Whole word search.
Return Value
Array of indexes into "where" to the found instances.