Jump to content

String Splitting Help


johnslater

Recommended Posts

I'm unable to find anything on the PHP website or on Google that seems to do what i require. I'm trying to find a way to split a string into an array or something at every comma. So i want something like this...

 

List: 1,2,3,4,5,6,7,8,9,10

 

to be outputted as...

 

1

2

3

4

5

6

7

8

9

10

 

Hope you can help or point me in the right direction.

Link to comment
https://forums.phpfreaks.com/topic/101674-string-splitting-help/
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.