This documentation is archived and is not being maintained.

XmlCharacterData.Substring Method

Retrieves a substring, of the full string, from the specified range.

[Visual Basic]
Public Overridable Function Substring( _
   ByVal offset As Integer, _
   ByVal count As Integer _
) As String
public virtual string Substring(
 int offset,
 int count
public: virtual String* Substring(
 int offset,
 int count
public function Substring(
   offset : int,
 count : int
) : String;


The position within the string to start retrieving. An offset of zero indicates the starting point is at the start of the data.
The number of characters to retrieve.

Return Value

The substring corresponding to the specified range.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

XmlCharacterData Class | XmlCharacterData Members | System.Xml Namespace