Find String in Array.

How could I check if the string "test" was in array $list?

EX: $list=["one","two","four"] return FALSE
EX: $list=["test","one","two"] return TRUE

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion