AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.3.0" />

 CharacterData

public abstract class CharacterData : Node
The base class for all characterdata implementations.
public string Data { get; set; }

Gets the string data in this character node.

public int Length { get; }

Gets the number of characters.

public CharacterData AppendData(string data)

Appends some data to the character data.

public CharacterData AppendData(char data)

Appends some data to the character data.

public CharacterData DeleteData(int offset, int count)

Deletes some data starting at the given offset with the given length.

public CharacterData InsertData(int offset, string data)

Inserts some data starting at the given offset.

public CharacterData InsertData(int offset, char data)

Inserts some data starting at the given offset.

public CharacterData ReplaceData(int offset, int count, string data)

Replaces some data starting at the given offset with the given length.

public string SubstringData(int offset, int count)

Returns the substring of the character data starting at the offset.