I have a String
Array
where I have need to trim the Spaces in each string..
Please let me know for any simple way without looping them in for loop.
Ex: ["Apple ", "Bike ", " Cat", " Dog "]
I have an Array
like this. I want all these spaces to be trimmed.
Aucun commentaire:
Enregistrer un commentaire