dimanche 29 mars 2015

Splitting string based on last occurance of , and _

I have a string that looks like APP1_ENV1,ENV2,ENV3,APP2_ENV4,ENV5,APP3_ENV1 How to split this string so that i get the associative array like app's with its following env's?


Aucun commentaire:

Enregistrer un commentaire