Click or drag to resize

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
)

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: Boolean
True on success, false on failure.
See Also