Re: converting string into array with regex
| From: | Jason Wong | Date: | Fri, 05 Dec 2003 11:19:38 +0000 |
| Subject: | Re: converting string into array with regex | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171966@lists.php.net to get a copy of this message | ||
On Friday 05 December 2003 19:08, Adam i Agnieszka Gasiorowski FNORD wrote:
> How would you specify a regex to
> convert string into array using preg_split?
> Is there some symbol specyfying a place
> between letters ?
>
> s t r i n g => array('s', 't', 'r', 'i',
> 'n', 'g')
> ^ ^ ^ ^ ^
RTFM!
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
A journey of a thousand miles must begin with a single step.
-- Lao Tsu
*/