keesha wrote:
> hi 1T3XT,
>
> thanks..
>
> i tried doing a compare using
> pdfFieldText.trim().equalsIgnoreCase("BARCODE") but it does give me the same
> values..
equalsIgnoreCase??? Why would you ignore case?
> I'm just curious why (a) and (b) behaves differently.
It doesn't make any sense.
If pdfFieldText = "BARCODE" then either
"BARCODE".equals(pdfFieldText) is true;
or you have a screwed up virtual machine.
I think there's something you're not telling us
(probably because you're overlooking something).
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/