Jump to content

Split an array another way


XeroXer

Recommended Posts

If I have an array and one of the array lines/entrys is really long.
Can I make it so that the really long line somewhere splits itself into a new line/entry in the array?

If I have this:
[code]Array
(
  [a] => 123563573476
  [b] => 22323213<>2474361414
  [c] => 3432563246324
)[/code]

Can I with any array command make that into this:
[code]Array
(
  [a] => 123563573476
  [b] => 22323213<
  [c] => >2474361414
  [d] => 3432563246324
)[/code]

It must continue to be a array and not split into a string.
Link to comment
https://forums.phpfreaks.com/topic/35102-split-an-array-another-way/
Share on other sites

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.