• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

help!!! please

Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, there
My criteriaFind()works fine with most of string pair (for instance: "Origin airport=SFO, Destination airport=LAX, Day=Tue")except "Carrier=...., Pirce=... which i foud out there is some special character following these values when i print out the records(I print out all the record to a file, from which i identify the special character just following Carrier,Price, Duration and Available seat's values).
I think the special character make my criteriaFind()not working well.
Has everyone met this situation before and how do you deal with it?
Thanks in advance....
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try to use trim() and encoding.
Yeast devil! Back to the oven that baked you! And take this tiny ad too:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic