GH_TreeFilterFindItemBrackets Method |
Locate the two parenthesis that delineate the index segment of an Index Rule set.
Namespace:
Grasshopper.Kernel.Data
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static bool FindItemBrackets(
string text,
out int index0,
out int index1
)
Public Shared Function FindItemBrackets (
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 parenthesis. - index1
- Type: SystemInt32
Index of closing parenthesis.
Return Value
Type:
BooleanTrue if valid parenthesis were found, false if not.
See Also