File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes String test  for Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "String test  for """ Watch "String test  for """ New topic

String test for ""

Mary Taylor
Ranch Hand

Joined: Sep 11, 2000
Posts: 327
What do I need to return from a method to test equal to ""? Null is obviously not the answer. I know this is really simple, but that's what this forum is for, I hope.
Mary Taylor
Ranch Hand

Joined: Sep 11, 2000
Posts: 327
Please delete this topic. Test I was using was not valid.
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

You should be able to delete it yourself. (you own it)
I'm just here to boost my #postings
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
You have the ability to edit or delete any post you create and delete any thread you start. To edit or delete a post, click on the icon that looks like a piece of paper on the post you'd like to change. To delete a thread you've created, click on that same icon of the original posting.
In this situation, I'd prefer that you share what you learned, since we're all here to learn from one another.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Mary Taylor
Ranch Hand

Joined: Sep 11, 2000
Posts: 327
I'm going to delete the post just to prove to myself I can. I thought I had tried to do so and failed, but I didn't have any instructions at the time. Perhaps I didn't click on the "right" picture. I'll let you all read this a day or two and then try to delete it!
I agree. Here's the link:
subject: String test for ""
It's not a secret anymore!