Share via


TextBuffer.matchLen Method

Returns the string length of the first match in the TextBuffer object.

Syntax

public int matchLen()

Run On

Called

Return Value

Type: int
The length of the match that is found; 0 (zero) if no match is found.

Remarks

This method is used as part of a text search (see the find method).

See Also

TextBuffer Class

TextBuffer.matchPos Method

TextBuffer.find Method