C-DEngine 5.105

TheCommonUtils..::..GetXMLSection Method

Extract a section from a string containing XML. The section consists of everything between an opening and a closing tag (but not including the tag itself).

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static string GetXMLSection(
	string strTag,
	string strIn
)
Public Shared Function GetXMLSection ( _
	strTag As String, _
	strIn As String _
) As String
public:
static String^ GetXMLSection(
	String^ strTag, 
	String^ strIn
)

Parameters

strTag
Type: String
The name of the delimiting tag.
strIn
Type: String
The input XML string.

Return Value

A string containing the requested substring, or null on error.