I don't understand how to remove the first element of each word in an array of strings:
value = ["$6558.07", "$468.95", "$0.487526"]
and I want a array with:
value = ["6558.07", "468.95", "0.487526"]
I want to remove the $
to convert this array into an array of float to compare values, etc.
I tried this:
value.each do | value |
value.drop(1)
end
and that just removes the entire first value.