determining if a string is null
From: Gary N. (gary.newell_at_nospam.intel.com)
Date: 11/22/03
- Next message: Paul Smith: "MultipartResponse. Servlet generating "normal" web page (pics + text)"
- Previous message: srdjan: "DNS query"
- Next in thread: VisionSet: "Re: determining if a string is null"
- Reply: VisionSet: "Re: determining if a string is null"
- Reply: Anand Gopinath: "Re: determining if a string is null"
- Reply: Michael Borgwardt: "Re: determining if a string is null"
- Reply: Roedy Green: "Re: determining if a string is null"
- Reply: biswa: "Re: determining if a string is null"
- Reply: Chris Smith: "Re: determining if a string is null"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 21 Nov 2003 16:43:12 -0700
Is there an easy way to determine if a string is null?
String a = null;
a.equals(""); // doesn't work
FAQ or suggestions welcome.
Thanks!
Gary
- Next message: Paul Smith: "MultipartResponse. Servlet generating "normal" web page (pics + text)"
- Previous message: srdjan: "DNS query"
- Next in thread: VisionSet: "Re: determining if a string is null"
- Reply: VisionSet: "Re: determining if a string is null"
- Reply: Anand Gopinath: "Re: determining if a string is null"
- Reply: Michael Borgwardt: "Re: determining if a string is null"
- Reply: Roedy Green: "Re: determining if a string is null"
- Reply: biswa: "Re: determining if a string is null"
- Reply: Chris Smith: "Re: determining if a string is null"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]