JAVA
Wednesday, September 1, 2010
Simple method for checking the valid String
public static boolean isValidString(String value) {
if (value != null && value.trim().length() > 0)
return true;
return false;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment