StartsWith
From SCAR Divi Manual
Definition
function StartsWith(prefix, s: AnsiString): Boolean;
Availability
SCAR Divi 3.10 > Current
Description
Returns true if a given string s starts with a given string prefix.
Example
begin WriteLn(StartsWith('World!', 'Hello World!')); WriteLn(StartsWith('Hello', 'Hello World!')); end.
Output:
0 1