Let's say I have an array with the following members:
car_porsche
car_mercedes
car_toyota
motorcycle_suzuki
motorcycle_honda
motorcycle_motoguzzi
how can i get an array with all elements starting from car_? There was a natural function for this, but I forgot her name.
Do you know what function I mean? I know how to do this for / foreach / array _filter. I am quite sure that there was a function for this.
source
share