Jump to content

[SOLVED] JavaScript explode


The Little Guy

Recommended Posts

I am passing a string formatted like this:

xxx,yyy,xxx,yyy

 

the formatting will change, the only thing that will not change, is that there will be 4 separate numbers, and 3 commas to separate each number.

 

I would like to know, is there a way to grab each number individually, such as a JavaScript version of explode?

Link to comment
https://forums.phpfreaks.com/topic/109442-solved-javascript-explode/
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.