Click or drag to resize

GH_Path.SplitPathLikeString 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
)

Parameters

s
Type: System.String
String to parse.
path_segments
Type:System.String[]
Output - Strings inside the path portion of s.
index_segment
Type: System.String
Output - String inside the index portion of s.

Return Value

Type: Boolean
True on success, false on failure.
See Also