View file core/libs/htmlParser/manual/docs/api/simple_html_dom/copy_until_char.md

File size: 376B
# copy_until_char (protected)

```php
copy_until ( string $char ) : string
```

Copies all characters starting at the current parsing position in the document. Sets the parsing position to the first character that matches the provided character.

| Parameter | Description
| --------- | -----------
| `char`    | A character to stop copying at.

Returns the copied characters.