Answer the question
In order to leave comments, you need to log in
How to find an element in an array with arrays in ruby?
I have an array with arrays like this:
arr = [
["<strong>some text</strong>", 23, "some value", "another value", "$6,656" ,"$8,146" ,"22.4%"],
["<italic>sfsdfdsf</italic>", "text", "text", "2134 dfdsf", "356", "$82,862","-5.1%"],
["gfdgdfsgdf", "EMPTY VALUE", "text", "djglkdfgj", "-$80,700", "-$74,716", "7.4%"],
["<strong>fdgsdffdsgfd</strong>", "tecx", "EMPTY VALUE", 123213, "7.6", 98, "2.2"]
]
arr
at least one value"EMPTY VALUE"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question