AngleSharp by AngleSharp

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

.NET API 1,244,160 bytes

 TextNode

Represents a text node.
public IElement AssignedSlot { get; }

Gets the assigned slot of the current element, if any.

public string Text { get; }

Gets the whole text content of adjacent nodes.

public IText Split(int offset)

Creates a new text node with the content starting at the specified offset. Adds the new node to the DOM as a sibling. Truncates the current node.