Source Code:
(back to article)
<?php $string = 'abc'; $string_array = str_split($string); echo $string_array[1]; // prints "b"
Result:
Report an issue