array filtering question



I have a POST array with about 200 elements.
There MAY be one or more key elements that start with deleteF~
(for example deleteF~EAP, deleteF~Lowfee)

What I want to know is if any array element begins with deleteF~

I looked at array_keys, array_filter and others, but they seem to all match the whole key string.

I can process the whole array myself, but I am hoping that with all the array functions there might be one.

It would be nice if I could apply an array function and get back an array with just those keys. (they are checkboxes so the value is always "on", just their presence is enough information.)

bill
.



Relevant Pages

  • Re: array filtering question
    ... On 5/21/2012 11:18 AM, bill wrote: ... What I want to know is if any array element begins with deleteF~ ... checkboxes with different names and the same value? ...
    (comp.lang.php)
  • Re: array filtering question
    ... Shake wrote: ... There MAY be one or more key elements that start with deleteF~ ... What I want to know is if any array element begins with deleteF~ ... Perhaps you can use multidimensional array here. ...
    (comp.lang.php)
  • Re: array filtering question
    ... There MAY be one or more key elements that start with deleteF~ ... What I want to know is if any array element begins with deleteF~ ... checkboxes with different names and the same value? ...
    (comp.lang.php)
  • Re: array filtering question
    ... There MAY be one or more key elements that start with deleteF~ ... What I want to know is if any array element begins with deleteF~ ... checkboxes with different names and the same value? ...
    (comp.lang.php)
  • Re: array filtering question
    ... On 5/21/2012 10:22 AM, bill wrote: ... There MAY be one or more key elements that start with deleteF~ ... What I want to know is if any array element begins with deleteF~ ... I can process the whole array myself, but I am hoping that with all the ...
    (comp.lang.php)