vendredi 6 novembre 2015

How to replace a pattern in ruby array

My array server_ip has the below values: "[\"172.31.25.207\", \"172.31.21.29\"]"

However, I want the array to be as below: "172.31.25.207", "172.31.21.29"

Aucun commentaire:

Enregistrer un commentaire