Jump to content

Please help.. Split text up into sections using PHP?


Tection99

Recommended Posts

str_split will do the job. It will split the string based on a value you can set and make an array from that. Also explode will do the same thing but a little different. Take a look at those 2 functions and the related functions listed in the manual. You should find what your looking for there.

 

http://us.php.net/manual/en/function.explode.php

http://us.php.net/manual/en/function.str-split.php

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.