Isblank vs Isempty
public class Main
{
public static void main(String[] args)
{
System.out.println( "ABC".isBlank() ); //false
System.out.println( " ".isBlank() ); //true
System.out.println( "ABC".isEmpty() ); //false
System.out.println( " ".isEmpty() ); //false
}
}
Misty Markhor