Posted by d on 01/12/06 12:15
"Gordan" <gordanMAKNI@torkul.hr> wrote in message
news:dq57af$j8t$1@news1.xnet.hr...
> Hi
>
> I have an array with following values:
> 419;
> 20;
> 19;20;21;
> 18;30;
> 17;20;25;
> 16;26;
> 16;17;20;21;22;34
>
> I would like to find out in how many keys there is "19;". If I simply
> search for "19;" it will also match "419;" witch is of course wrong. I
> tried to write a regexp but can't seem to pull it off. :-( Could somebody
> please assist me with that regexp
>
> thanks
> gordan
Why are you using a regular expression? Also, how are you iterating through
your array?
dave
[Back to original message]
|