help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'System' (#rtl)

Concat

Append one string to another.

Declaration

Source position: system.fpd line 22

function Concat(

  const S1: String;

  const S2: String;

  const S3: String;

  const Sn: String

):String;

Description

Concat concatenates the strings S1,S2 etc. to one long string. The resulting string is truncated at a length of 255 bytes. The same operation can be performed with the + operation.

Errors

None.

See also

Copy

  

Copy part of a string.

Delete

  

Delete part of a string.

Insert

  

Insert one string in another.

Pos

  

Search for substring in a string.

Length

  

Calculate length of a string.

Example

Program Example10;

{ Program to demonstrate the Concat function. }
Var
  S : String;

begin
  S:=Concat('This can be done',' Easier ','with the + operator !');
end.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505