GH_TreeFilterFindPathBrackets Method |
Locate the two curly brackets that delineate the path segment of an Index Rule set.
Namespace:
Grasshopper.Kernel.Data
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static bool FindPathBrackets(
string text,
out int index0,
out int index1
)
Public Shared Function FindPathBrackets (
text As String,
<OutAttribute> ByRef index0 As Integer,
<OutAttribute> ByRef index1 As Integer
) As Boolean
Parameters
- text
- Type: SystemString
String to search. - index0
- Type: SystemInt32
Index of opening curly bracket. - index1
- Type: SystemInt32
Index of closing curly bracket.
Return Value
Type:
BooleanTrue if valid brackets were found, false if not.
See Also