GH_PathSplitPathLikeString Method |
Try to split up a path-like formatted string "{A;B;C}(i)" into component parts.
Namespace:
Grasshopper.Kernel.Data
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static bool SplitPathLikeString(
string s,
out string[] path_segments,
out string index_segment
)
Public Shared Function SplitPathLikeString (
s As String,
<OutAttribute> ByRef path_segments As String(),
<OutAttribute> ByRef index_segment As String
) As Boolean
Parameters
- s
- Type: SystemString
String to parse. - path_segments
- Type: SystemString
Output - Strings inside the path portion of s. - index_segment
- Type: SystemString
Output - String inside the index portion of s.
Return Value
Type:
BooleanTrue on success, false on failure.
See Also