Re: [PHP] converting string into array with regex

2003-12-06 Thread Adam i Agnieszka Gasiorowski FNORD
"CPT John W. Holmes" wrote: > From: "Adam i Agnieszka Gasiorowski FNORD" <[EMAIL PROTECTED]> > > > No, no spaces between letters (otherways > > it would be very easy, indeed). So there is > > no way to match the "space between alphanumeric > > chars" and split on it? I was trying to avoid >

Re: [PHP] converting string into array with regex

2003-12-05 Thread CPT John W. Holmes
From: "Adam i Agnieszka Gasiorowski FNORD" <[EMAIL PROTECTED]> > No, no spaces between letters (otherways > it would be very easy, indeed). So there is > no way to match the "space between alphanumeric > chars" and split on it? I was trying to avoid > the loop solution. Of course there is. In

Re: [PHP] converting string into array with regex

2003-12-05 Thread Adam i Agnieszka Gasiorowski FNORD
Wouter van Vliet wrote: > On vrijdag 5 december 2003 12:23 Burhan Khalid told the butterflies: > > 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 le

RE: [PHP] converting string into array with regex

2003-12-05 Thread Wouter van Vliet
On vrijdag 5 december 2003 12:23 Burhan Khalid told the butterflies: > 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 => a

Re: [PHP] converting string into array with regex

2003-12-05 Thread Burhan Khalid
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') ^ ^ ^ ^ ^ You can access a string's characters

Re: [PHP] converting string into array with regex

2003-12-05 Thread Jason Wong
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') > ^ ^ ^