Click or drag to resize

ConfigAccessorStrToPath Method

Transforms a URL-like string path into the nodes path.

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.1.1 (in KSPDev_Utils.1.1.dll) Version: 1.1 for KSP v1.6+
Syntax
C#
public static string[] StrToPath(
	string strPath
)
Request Example View Source

Parameters

strPath
Type: SystemString
A list of path elements, separated by symbol "/". An empty string (no elements) addresses the root node.

Return Value

Type: String
The array of the path components. There will be no null or empty components.
See Also