Hello,

"Maxim Maletsky" <[EMAIL PROTECTED]> wrote:


[snip]
> As of actually converting it you could do that very loop and have an:
> $atr_arr[] = $str[$i] in it, or, even more elegantly by using split()
> function or "...chunk.." something function(), don't remember right now.
[/snip]

Perhaps, this would remind you...  :)

<?php
  $str = 'string';
  $chars = preg_split('//', $str, -1, PREG_SPLIT_NO_EMPTY);
  print_r($chars);
?>

That was from the manual:
  http://www.php.net/manual/en/function.preg-split.php

- E

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

Reply via email to