update : 2015.11.03
php.shukuma.com검색:
|
grapheme_extract(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) grapheme_extract — Function to extract a sequence of default grapheme clusters from a text buffer, which must be encoded in UTF-8. 설명절차식 형식
string grapheme_extract
( string
$haystack
, int $size
[, int $extract_type
[, int $start = 0
[, int &$next
]]] )Function to extract a sequence of default grapheme clusters from a text buffer, which must be encoded in UTF-8. 인수
반환값A string starting at offset $start and ending on a default grapheme cluster boundary that conforms to the $size and $extract_type specified. 예제Example #1 grapheme_extract() example
<?php 위 예제의 출력: o%CC%88 참고
|