Split string and consolidate into an array

Hey guys,

I’m stuck on a problem and thought that you might help…any ideas on how I might consolidate a string like this:

Octane Optimized, Yurich’s Nexus, Ember of Kytos, Aerial Ocelot, Ember of Kytos #2, Aerial Ocelot #5, Ember of Kytos

Into this:

{“Octane Optimized”:“1”,“Yurich’s Nexus “:“1”,“Ember of Kytos”:“4”,” Aerial Ocelot”:“6”}

Sponsor our Newsletter | Privacy Policy | Terms of Service