Is it possible to look at individual chars of a string?

eg: $str = "12345";

print $str_1 // Gives "1"
print $str_2 // Gives "2"

Doing this with an array would be handy, maybe using explode or preg_split?

Thanks in advance!



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to