• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

criteriaFind

 
Chandu onwards
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear group,
my requirement for the criteriaFind says that
"only exact matches need to be handled in this criteriaFind(String) method"
Now Does this mean that my search should be case sensitive and i shouldn't ignore white spaces??

I felt It makes more sense to provide a search with ignoring caseand white space.
Any suggestions?
Thanks,
Chandu
[ December 23, 2002: Message edited by: Chandu onwards ]
 
John Lee
Ranch Hand
Posts: 2545
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like only strictly matching will be fine. But in realty, it is common to use lower case letter (or other way around), or extra space.
So what I did is to extend the match to include space and different case letter. It is not difficult anyway.
 
Chandu onwards
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Don Liu,
I too had implemented it to extend different case and space. when i went through the spec i got this doubt.
So just wanted to check with the group.
I'm planning to submit my code in a couple of days time.
Thanks,
Chandu.
 
John Lee
Ranch Hand
Posts: 2545
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are welcome!
Good luck with your assignment!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic