Hi Ian: A straight regex should work. That is, your query string should be something like /BOYS/ assuming you're using shapefiles.
Steve >>> On 6/3/2008 at 9:03 PM, in message <[EMAIL PROTECTED]>, "Ian Tidy" <[EMAIL PROTECTED]> wrote: > Hi All, > > I am struggling to get my expression match to work properly. > > I need to match a string with any part of the attribute value. So if in > may SRCH field I have 'NAPIER BOYS HIGH SCHOOL', if I search for BOYS or > SCHOOL (any combination of letters / part of the word that matches), I > will get this object. > > Can anyone help. > Cheers Ian > ______________________ > Ian Tidy > GIS Analyst / Developer > Works Asset Department > Napier City Council > Hastings St, Private Bag 6010, Napier, New Zealand > Phone +64-6-835-7579 Ext. 8115 > Fax +64-6-834-4195 > mailto:[EMAIL PROTECTED] > http://www.napier.govt.nz | http://maps.napier.govt.nz > > > > > ############################################################################ > ######### > This e-mail message has been scanned for Viruses and Content and cleared > by MailMarshal > ############################################################################ > ######### > > ###################################################################### > Attention: > This e-mail message and accompanying data may contain information that > is confidential and subject to legal privilege. Any information > provided is given in good faith. However unless specifically stated to > the contrary, Napier City Council accepts no liability for the > content of this e-mail or for the consequences of any action taken on > the basis of the information provided, unless that information is > subsequently confirmed in writing. If you are not the intended recipient, > you are notified that any use, dissemination, distribution or copying > of this message or data is prohibited. If you received this e-mail > message in error, please notify us immediately and erase all copies > of this message and attachments. Thank you. _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
