The IntlPartsIterator class
(PHP 5 >= 5.5.0, PHP 7, PHP 8)
简介
Objects of this class can be obtained from IntlBreakIterator objects. While the break iterators provide a sequence of boundary positions when iterated, IntlPartsIterator objects provide, as a convenience, the text fragments comprehended between two successive boundaries.
The keys may represent the offset of the left boundary, right boundary, or they may just the sequence of non-negative integers. See IntlBreakIterator::getPartsIterator().
类摘要
预定义常量
IntlPartsIterator::KEY_SEQUENTIAL
int
IntlPartsIterator::KEY_LEFT
int
IntlPartsIterator::KEY_RIGHT
int
更新日志
| 版本 | 说明 |
|---|---|
| 8.4.0 | The class constants are now typed. |
目录
- IntlPartsIterator::getBreakIterator — Get IntlBreakIterator backing this parts iterator
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
