Guys, not to confuse you, but I think there is a more elegant way doing
it that. I had the same issue once long ago (2-3 years ago?) and had put
it up on the mailing lists too.
Gotta remember what it was and for what project then find the code in my
libraries. I really think i accomplished it without preg_split()...
"@ Edwin" <[EMAIL PROTECTED]> wrote... :
> "Maxim Maletsky" <[EMAIL PROTECTED]> wrote:
> > 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.
> Perhaps, this would remind you... :)
> $str = 'string';
> $chars = preg_split('//', $str, -1, PREG_SPLIT_NO_EMPTY);
> That was from the manual:
> - E
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php