Re: [PHP] preg_slipt

2005-11-29 Thread David Precious
> > No, preg_split would be overkill here, you want to take a look at > > str_split: > Sorry I forgott to tell that I'm not using PHP 5.x :-) Ahhh, right - my answer won't be of much use to you then :-) In that case, David Grant's suggestion of using chunk_split() in combination with split() is

Re: [PHP] preg_slipt

2005-11-29 Thread David Precious
a[4] = "90" > > I know that for this is preg_split, but I don't know the string patern > for split. > Thank you in advance !! No, preg_split would be overkill here, you want to take a look at str_split: http://uk.php.net/manual/en/function.str-split.php To achieve