>Is there an easy way to get an array of characters from a string?

For virtually anything you need to do with it, a string *IS* an array of
characters...

$foo = 'test;
echo $foo[2];
for ($i = 0; $i < strlen($foo); $i++{
  echo "$i $foo[$i]<BR>\n";
}



-- 
Like Music?  http://l-i-e.com/artists.htm


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

Reply via email to