Date: 07/31/02
- Next message: Vail, Warren: "RE: [PHP] I cannot use mail() ?!?"
- Previous message: Aaron Paxson: "[PHP] I cannot use mail() ?!?"
- Next in thread: Martin Clifford: "Re: [PHP] String Question"
- Maybe reply: Martin Clifford: "Re: [PHP] String Question"
- Reply: Richard Baskett: "Re: [PHP] String Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I would like to be able to do the following but have not figured out a way to handle it
$string="abcdefghijklmnopqrstuvwxz";
I would like to divde the above string into separate strings 8 charactes long , example
$string1=abcdefgh
$string2=ijklmnop
$string3=qrstuvwx
$string4=yz
if the string were only 10 long
$string=abcdefghij
then
$string1=abcdefgh
$string2=ij
any suggestions would be greatly appreciated.
Thanks,
Randy
- Next message: Vail, Warren: "RE: [PHP] I cannot use mail() ?!?"
- Previous message: Aaron Paxson: "[PHP] I cannot use mail() ?!?"
- Next in thread: Martin Clifford: "Re: [PHP] String Question"
- Maybe reply: Martin Clifford: "Re: [PHP] String Question"
- Reply: Richard Baskett: "Re: [PHP] String Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

