update : 2015.11.03
php.shukuma.com검색:
|
count_chars(PHP 4, PHP 5) count_chars — 문자열 안에 사용한 문자에 대한 정보를 반환 설명
인수
반환값
예제
Example #1 count_chars() 예제
<?php 위 예제의 출력: There were 4 instance(s) of " " in the string. There were 1 instance(s) of "." in the string. There were 1 instance(s) of "F" in the string. There were 2 instance(s) of "T" in the string. There were 1 instance(s) of "a" in the string. There were 1 instance(s) of "d" in the string. There were 1 instance(s) of "e" in the string. There were 2 instance(s) of "n" in the string. There were 2 instance(s) of "o" in the string. There were 1 instance(s) of "s" in the string. There were 1 instance(s) of "w" in the string. |