<PackageReference Include="System.Xml.XmlDocument" Version="4.0.1-beta-23409" />

System.Xml.XmlText

public class XmlText : XmlCharacterData
Represents the text content of an element or attribute.
public virtual XmlText SplitText(int offset)

Splits the node into two nodes at the specified offset, keeping both in the tree as siblings.