micharg
Saturday, 4 February 2012
Java: How to check if a String is null
if(str==null || str.trim().length()==0) { return null; }
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment