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