array=["1","3","4"] How do i convert this array to sessionarraydb_array=[1,3,4,]
array.map(&:to_i)
Walter
try-
array=[“1”,“3”,“4”]
ignore last reply and try this-
array.map!{|e| e.to_i}
array=["1","3","4"] How do i convert this array to sessionarraydb_array=[1,3,4,]
array.map(&:to_i)
Walter
try-
array=[“1”,“3”,“4”]
ignore last reply and try this-
array.map!{|e| e.to_i}