Substring.IsEmpty Method

function IsEmpty: Boolean; inline;

Whether the window holds no character.

Returns: Boolean

Examples

An empty text.

uses Substr;

procedure Example;
begin
    Assert(Substring('').IsEmpty);
    Assert(not Substring('a').IsEmpty);
end;