Swift - Trim String in Array
<p>I have a <code>String</code> <code>Array</code> 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.</p>

<p>Ex: <code>["Apple ", "Bike ", " Cat", " Dog "]</code>
I have an <code>Array</code> like this. I want all these spaces to be trimmed.</p>