DOMCDATASection.ReplaceData

Syntax:

ReplaceData(<Offset>, <Length>, <String>)

Parameters:

<Offset> (required)

Type: Number.
An offset from the character data start.

<Length> (required)

Type: Number.
The replaced character data length.

<String> (required)

Type: String.
A string that replaces character data.

Description:

Replaces a range of character data.

Availability:

Server, thick client, external connection, Mobile application (server).

Note:

Exception reasons:
  • Offset is greater than the character data size;
  • This node is read-only.

    

1C:Enterprise Developer's Community