TrimEx

From SCAR Divi Manual
Jump to: navigation, search

Definition

function TrimEx(delimiter, s: AnsiString): AnsiString;

Availability

SCAR Divi 3.10 > Current

Description

Trims a string delimiter at the beginning and ending of a string s.

Example

begin
  WriteLn(TrimEx('lol', 'lolHello World!lollol'));
end.

Output:

Hello World!

See Also