Explode

From SCAR Divi Manual
Revision as of 10:14, 2 July 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function Explode(Separator, s: AnsiString): TStringArray; </source> ==Availability== SCAR Divi 3.20 > Current ==Description== ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function Explode(Separator, s: AnsiString): TStringArray;

Availability

SCAR Divi 3.20 > Current

Description

Splits a given string s into a TStringArray by breaking of at every substring given by Separator. An extended function with additional functionality is available as ExplodeEx.

Example

begin
  WriteLn(Implode(' ', Explode('roflcopter', 'HelloroflcopterWorld!')));
end.

Output:

Hello World!

See Also