• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Am I complicating ?

 
Kamalakar Mani
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can you guys please let me know whether we should handle the
following cases in criteriaFind's string ?
a)"Carrier='ABC,Inc'" or "Carrier='ABC's Company'"
Please note that there is a "," and "'"
respectively in the values of the Carrier.

Thank You in advance,
Regards,
Kamalar Mani
 
Roman Rytov
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I bet we do. I did it in my algorithm and it's not a big deal
 
Kamalakar Mani
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roman Rytov,
Can I know how do we handle such cases ..?
For example, in the case of Carrier='ABC's Company'", how do we know that the value of the carrier is ABC's Company instead of ABC ..?
How do we know the end of the string ..?
Same thing in the below example also ..
Carrier='ABC,Inc', Origin airport='Tampa, Intl'
Can you please give me an high level view of the algorithm ..?
Thank You,
Mani
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic