Документация PHP


DOMText

DOMXPath

DOMText

PHP Manual


DOMText::splitText

(No version information available, might be only in CVS)

DOMText::splitText — Breaks this node into two nodes at the specified offset

Описание

DOMText DOMText::splitText ( int $offset )

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

After being split, this node will contain all the content up to the offset . If the original node had a parent node, the new node is inserted as the next sibling of the original node. When the offset is equal to the length of this node, the new node has no data.

Список параметров

offset

The offset at which to split, starting from 0.

Возвращаемые значения

The new node of the same type, which contains all the content at and after the offset .


DOMText

DOMXPath

DOMText

PHP Manual

SAPE все усложнил?

MainLink - простая и прибыльная продажа ссылок!

Последние поступления:

Размещена 10 августа 2020 года

Я по ТВ видел, что через 10 лет мы будем жить лучше, чем в Германии...
Я не понял, что это они с Германией сделать хотят?!

читать далее…

ТехЗадание на Землю

Размещена 14 марта 2018 года

Пpоект Genesis (из коpпоpативной пеpеписки)

читать далее…

Шпаргалка по работе с Vim

Размещена 05 декабря 2017 года

Vim довольно мощный редактор, но работа с ним не всегда наглядна.
Например если нужно отредактировать какой-то файл например при помощи crontab, без знания специфики работы с viv никак.

читать далее…

Ошибка: Error: Cannot find a valid baseurl for repo

Размещена 13 сентабря 2017 года

Если возникает ошибка на centos 5 вида
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/

читать далее…

Linux Optimization

Размещена 30 июля 2012 года

Prelink

читать далее…