GH_TreeFilterFindNextLevelChar Method |
Find the next occurance of a char in a string that is level with the search start index.
Namespace:
Grasshopper.Kernel.Data
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static int FindNextLevelChar(
string text,
int index,
char char
)
Public Shared Function FindNextLevelChar (
text As String,
index As Integer,
char As Char
) As Integer
Parameters
- text
- Type: SystemString
String to search. - index
- Type: SystemInt32
Index to search from. - char
- Type: SystemChar
Char to match.
Return Value
Type:
Int32The index of the first level character match or -1 if no such character could be found.
See Also