IndexOfOpeningCharacter(String, Int32, Int32) Method

Definition

Namespace Markdig.Parsers
Assembly Markdig.dll

Searches for an opening character from a registered parser in the specified string.

[MethodImpl(MethodImplOptions.AggressiveInlining)]
public int IndexOfOpeningCharacter(string text, int start, int end)

Parameters

text
String

The text.

start
Int32

The start.

end
Int32

The end.

Returns

Int32
Index position within the string of the first opening character found in the specified text; if not found, returns -1