php8.5
Home/ Manual/ intl / intlbreakiterator/ IntlBreakIterator::getPartsIterator

IntlBreakIterator::getPartsIterator

PHP function Edit on GitHub ✎

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

Create iterator for navigating fragments between boundaries

Description

IntlBreakIterator::getPartsIterator(int $type = IntlPartsIterator::KEY_SEQUENTIAL): IntlPartsIterator

Func

Parameters

type

Optional key type. Possible values are:

  • IntlPartsIterator::KEY_SEQUENTIAL - The default. Sequentially increasing integers used as key.
  • IntlPartsIterator::KEY_LEFT - Byte offset left of current part used as key.
  • IntlPartsIterator::KEY_RIGHT - Byte offset right of current part used as key.

Return Values

Source: reference/intl/intlbreakiterator/getpartsiterator.xml · from the official PHP manual (php/doc-en)