update : 2015.11.03
php.shukuma.com검색:
|
grapheme_strpos(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) grapheme_strpos — Find position (in grapheme units) of first occurrence of a string 설명절차식 형식
int grapheme_strpos
( string
$haystack
, string $needle
[, int $offset = 0
] )Find position (in grapheme units) of first occurrence of a string 인수
반환값Returns the position as an integer. If needle is not found, strpos() will return boolean FALSE. 예제Example #1 grapheme_strpos() example
<?php 위 예제의 출력: 2 참고
|