i have an array like this
Array
(
[0] => "<[email protected]>"
[1] => "<[email protected]>"
[2]=> "<[email protected]>"
)
now i want to remove "<"
and ">"
from above array so that it look like
Array
(
[0] => [email protected]
[1] => [email protected]
[2] => [email protected]
)
how to do this in php? please help me out
I'm using array_filter()
, is there any easier way to do that except array_filter()
.