DotNetWikiBot Framework Documentation
Assembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0
Returns the List<int> object containing zero-based indexes of all found occurrences or empty List<int> if nothing was found.
This auxiliary function returns the zero-based indexes of all occurrences
of specified string in specified text.
Namespace: DotNetWikiBotAssembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0
Syntax
C# |
---|
public static List<int> GetMatchesPositions( string text, string str, bool ignoreCase ) |
Parameters
- text
- Type: System..::..String
String to look in.
- str
- Type: System..::..String
String to look for.
- ignoreCase
- Type: System..::..Boolean
Pass "true" if you require case-insensitive search. Case-sensitive search is faster.
Return Value
Type: List<(Of <(<'Int32>)>)>Returns the List<int> object containing zero-based indexes of all found occurrences or empty List<int> if nothing was found.