There is an array with 2 elements

test = ["i am a boy", "i am a girl"]

I want to test if a string is found inside the array elements, say:

test.include("boy")  ==> true
test.include("frog") ==> false

Can i do it like that?

Edit
Report