countHiragana() 공개 정적인 메소드

Count number of hiragana within the specified string.
public static countHiragana ( string $str ) : integer
$str string The input string.
리턴 integer Returns the number of hiragana.
예제 #1
0
 public function testCountHiraganaWhenSutegana()
 {
     $result = Analyzer::countHiragana('ぁぃぅぇぉ');
     $this->assertEquals(5, $result);
 }