• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help!!! please

 
fengqiao cao
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....
I
 
Terry Wang
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try to use trim() and encoding.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic