IsEmpty: Boolean;
The IsEmpty method returns whether the attribute value is empty. If the variable value is an empty string, the method returns True, otherwise it returns False.
Sub Main;
Var
s1, s2: String;
b, b1: Boolean;
Begin
s1 := "";
s2 := "abcdef";
b := s1.IsEmpty;
b1 := s2.IsEmpty;
End Sub Main;
After executing the example the "b" variable will contain True, and the "b1" variable will contain False.
See also: