Grasshopper API
GH_ConvertToVariableName Method |
Extract the implied variable name from a compound string.
A string is considered compound if it contains a parenthesis pair with
at least one character within the brackets.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static string ToVariableName( string compound )
Public Shared Function ToVariableName ( compound As String ) As String
Parameters
- compound
- Type: SystemString
String to parse.
Return Value
Type: StringThe variable name as extracted or the original compound if no name was implied.
