I have an array that looks like this:
Array
(
[0] => aaaaa
[1] => bbbbb
[2] => ccxcc
[3] => ddddd
)
I want do delete every value of the array that contains the letter x, so this would be the outcome:
Array
(
[0] => aaaaa
[1] => bbbbb
[2] => ddddd
)
How would I do this?
Thanks!