2010-08-22 PHPでcharAtみたいな php PHPにはcharAt(1)みたいなメソッドはありませんが、string indexというものを使えば同等のことができるようです。 $str = 'abcde'; echo $str{2}; // prints 'c'