Link Search Menu Expand Document

XmlCharacterData.SubstringData Method

Explanation Extract a part of the string
Call format var s = cd.SubstringData( offset, count )
Return value Extracted character string
Arguments integer offset Position to extract (specified by the number of characters)
integer count Extract length (specified by the number of characters)
Exception DOM-1 INDEX_SIZE_ERR
DOM-7 NO_MODIFICATION_ALLOWED_ERR
Example of use
    var text = elm.FirstChild;
    text.ReplaceData(10, 3, "new text");
    
Related item XmlText class