Finds a text pattern.
Namespace: Sgry.AzukiAssembly: Azuki (in Azuki.dll) Version: 1.7.13.40248
Syntax
C# |
---|
public SearchResult FindNext( string value, int begin, int end ) |
Visual Basic |
---|
Public Function FindNext ( value As String, begin As Integer, end As Integer ) As SearchResult |
Parameters
- value
- Type: System..::..String
The String to find.
- begin
- Type: System..::..Int32
The search starting position.
- end
- Type: System..::..Int32
The search terminating position.
Return Value
Type: SearchResultSearch result object if found, otherwise null if not found.
Remarks
This method finds the first occurrence of the pattern in the range of [begin, end). The text matching process continues for the document end and does not stop at line ends nor null-characters.
This method searches the text pattern case-sensitively. If the matching should be case-insensitively, use other overload method.
If parameter value is an empty string, search result will be the range of [startIndex, startIndex).
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | Parameter value is null. |
System..::..ArgumentOutOfRangeException | Parameter begin or end is out of valid range. |