Hallo All,
Is a Text from a Cell not equal to a String? I mean, I have;
String G = cell.getRichStringCellValue().getString(); // Output :Caption
or
String B = cell.getStringCellValue(); // Output:Caption
but wenn I do ;
String Caption = "Caption";
if (G == Caption){System.out.println("OK");}
if (B == Caption){System.out.println("OK");}
it doesn't work?
How can i match a String with the Value (a String Value) from a Cell?
Thanks in advance
Sars
--
View this message in context:
http://apache-poi.1045710.n5.nabble.com/How-to-get-the-CellValue-from-a-Cell-as-String-tp5711810.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]