Blog completely focused on android question-answer.
psvm(){
String str = " ";
if(trim(str).legth()>0){
sysout("valid")
}else{
sysout("not valid")
}
public String trim(String source) { return source.replaceAll("\\s+$", ""); }
No comments:
Post a Comment