Explode a variable into each character
| From: | Brandon Orther | Date: | Fri, 23 Feb 2001 19:08:06 +0000 |
| Subject: | Explode a variable into each character | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-41357@lists.php.net to get a copy of this message | ||
Hello,
I have a string of 1034 and I want to have an array that has each number in
an element.(ex: num[0] = 1, num[1] = 0, num[2] = 3 num[3] = 4) Is there a
way to explode a string by each character?
Thank you,
--------------------------------------------
Brandon Orther
WebIntellects Design/Development Manager
brandon@webintellects.com
800-994-6364
www.webintellects.com
--------------------------------------------