print substr_count("This is a test", "is"); // 2를 출력한다.
'프로그래밍 언어 > php' 카테고리의 다른 글
php error func (0) | 2007.03.12 |
---|---|
str_word_count - 문자열에서 사용한 단어에 대한 정보 반환 (0) | 2007.03.11 |
msec -> 시분초 (0) | 2007.03.02 |
strtotime - 날짜 변환 (0) | 2007.02.02 |
similar_text (0) | 2007.02.02 |