TrimEx

From SCAR Divi Manual
Revision as of 00:11, 27 June 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function TrimEx(delimiter, s: AnsiString): AnsiString; </source> ==Availability== SCAR Divi 3.10 > Current ==Description== Tri...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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