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



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

AppendStr

Append one ansistring to another.

Declaration

Source position: sysstrh.inc line 68

procedure AppendStr(

  var Dest: String;

  const S: String

);

Description

AppendStr appends S to Dest.

This function is provided for Delphi compatibility only, since it is completely equivalent to Dest:=Dest+S.

Errors

None.

See also

AssignStr

  

Assigns an ansistring to a null-terminated string.

NewStr

  

Allocate a new ansistring on the heap.

DisposeStr

  

Dispose an ansistring from the heap.

Example

Program Example62;

{ This program demonstrates the AppendStr function }

Uses sysutils;

Var S : AnsiString;

Begin
  S:='This is an ';
  AppendStr(S,'AnsiString');
  Writeln ('S = "',S,'"');
End.

Notes

 No notes exist for this page yet. 





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