ExtractOne Method

HttpServer.dll

Extracts one parameter from an array

Namespace:  HttpServer
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static string ExtractOne(
	string value
)
Visual Basic (Declaration)
Public Shared Function ExtractOne ( _
	value As String _
) As String
Visual C++
public:
static String^ ExtractOne(
	String^ value
)

Parameters

value
Type: System..::.String
Containing the string array

Return Value

All but the first value

Examples

string test1 = ExtractOne("system[user][extension][id]"); string test2 = ExtractOne(test1); string test3 = ExtractOne(test2); // test1 = user[extension][id] // test2 = extension[id] // test3 = id

See Also