File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Simple question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Simple question "compareTo"" Watch "Simple question "compareTo"" New topic
Author

Simple question "compareTo"

Elahe Shafie
Ranch Hand

Joined: Dec 12, 2001
Posts: 291
Hi Friends,
I try to compare strFixedDate if it is not equal "" how can I write it?
?? strFixedDate compareTo(!"");
Thanks,
Elahe


Thanks,
Elahe
Roy Ben Ami
Ranch Hand

Joined: Jan 13, 2002
Posts: 732
if (!(strFixedDate.equals(""))) ???
Elahe Shafie
Ranch Hand

Joined: Dec 12, 2001
Posts: 291
Thanks Roy...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Simple question "compareTo"