Each element in my array is an array of approximately 5 values. Some of them numerically end in GB. I need the same array, but with "GB", remote, so that only a number remains.
So, I need to iterate over the entire array, on each subarray take each value and cut the string "GB" from it and create a new array from the output.
Is there an effective way to do this?
source
share