PagePorter Class Library

Metadata.ParseLine Method 

Parses in input line into the variable name and the string value.

[Visual Basic]
Protected Sub ParseLine( _
   ByVal s As String, _
   ByRef name As String, _
   ByRef value As String _
)
[C#]
protected void ParseLine(
   string s,
   out string name,
   out string value
);

Parameters

s
The input line.
name
The variable name portion of the input line.
value
The value portion of the input line.

Remarks

This method is essentially a split at the colon (:) character of the input line. The name portion is to the left, and the string value portion is to the right. The only special processing is that the name may be backslash-escaped.

See Also

Metadata Class | Parastream.Web.MsFrontPage Namespace