Difference between revisions of "Implode"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function Implode(Glue: AnsiString; Pieces: TStringArray): AnsiString; </source> ==Availability== SCAR Divi 3.20 > Current ==De...")
 
Line 10: Line 10:
 
Implodes a given [[TStringArray]] '''Pieces''' by joining all of the containing strings together into one [[AnsiString|string]] with the given string '''Glue''' as delimiter.
 
Implodes a given [[TStringArray]] '''Pieces''' by joining all of the containing strings together into one [[AnsiString|string]] with the given string '''Glue''' as delimiter.
  
==Example</ref>==
+
==Example==
 
<source lang="scar">
 
<source lang="scar">
 
begin
 
begin

Revision as of 10:09, 2 July 2011

Definition

function Implode(Glue: AnsiString; Pieces: TStringArray): AnsiString;

Availability

SCAR Divi 3.20 > Current

Description

Implodes a given TStringArray Pieces by joining all of the containing strings together into one string with the given string Glue as delimiter.

Example

begin
  WriteLn(Implode(' ', ['Hello', 'World!']));
end.

Output:

Hello World!

See Also