0

Hi,guys!May i know how to i seperate -keyword and +keyword from an array?


eg, i have $arrayList = array(+book,+school,-play,-study);

How to i seperate those +keyword into 1 array and -keyword into another array?


You help will be kindly appreciate.


Best Regards,
Stanley

2
Contributors
4
Replies
5
Views
5 Years
Discussion Span
Last Post by stanley87
0

using preg_match with the +/- to seperate them together with the array_walk?

0

Okay,i see.Thanks you very much for your value info.Appreciate it very much!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.