M
Matt
If I just want to test if a string is blank data string or not. Do you
think this method is good enough?? Or any better approach. Please
advise. Thanks.
public boolean isBlankDataString(String s)
{ return s.trim().length() == 0;
}
boolean b = isBlankDataString(" ");
think this method is good enough?? Or any better approach. Please
advise. Thanks.
public boolean isBlankDataString(String s)
{ return s.trim().length() == 0;
}
boolean b = isBlankDataString(" ");