Substring.Initialize Operator

class operator Initialize(out Dest: Substring);

Sets a new variable to the empty text, held inline. The compiler calls it.

#NameTypeDescription
1DestSubstring

Result: stored in self (calling object)

Examples

A declared Substring is empty.

uses Substr;

procedure Example;
var s: Substring;
begin
    Assert(s.IsEmpty);
    Assert(s.IsInline);
end;