mardi 25 avril 2017

How to convert a string in to an array in ruby without using split method

I want to convert the string into an array without using any split method.

"Country ,blue,of, origin"

I want a desired output like this.

[Country ,blue,of, origin]

Aucun commentaire:

Enregistrer un commentaire