Re: breaking the string
| From: | Torsten Roehr | Date: | Fri, 14 May 2004 11:06:47 +0000 |
| Subject: | Re: breaking the string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186227@lists.php.net to get a copy of this message | ||
"Gowthaman Ramasamy" <gowtham@icgeb.res.in> wrote in message
news:1084532057.22337.169.camel@icgeb13...
> hello list,
> can we split a string into substrings of particular size.
> for example ..
> i have as sting of 1000 characters. can i split it into stings of 150
> and feed them into an array.
>
This should be EXACTLY what you're looking for:
http://de3.php.net/manual/en/function.str-split.php
Regards, Torsten