Helper function to get a value from a comma separated string. Usefull to get a node identifier from a Page's path string

Namespace: umbraco
Assembly:   umbraco (in umbraco)
Version: 1.0.2698.41384

Syntax

Visual Basic (Declaration)
Public Shared Function GetNodeFromLevel ( _
	path As String, _
	level As Integer _
) As String
C#
public static string GetNodeFromLevel (
	string path,
	int level
)
Visual C++
public:
static String^ GetNodeFromLevel (
	String^ path, 
	int level
)

Parameters

path
System.String
The comma separated string
level
System.Int32
The index to be returned

Return Value

A string with the value of the index