# Dom\CharacterData::appendData

(PHP 8 >= 8.4.0)

Dom\CharacterData::appendData — Append the string to the end of the character data of the node

### 说明

public Dom\CharacterData::appendData(string `$data`): void

Append the string `data` to the end of the character data of the node.

### 参数

`data`

  The string to append.

### 返回值

总是返回 `true`。

### 参见

- Dom\CharacterData::deleteData() - Remove a range of characters from the character data
- Dom\CharacterData::insertData() - Insert a string at the specified UTF-8 codepoint offset
- Dom\CharacterData::replaceData() - Replace a substring within the character data
- Dom\CharacterData::substringData() - Extracts a range of data from the character data

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open