09.10.2014 Views

download pascal tutorial (pdf - Tutorials Point

download pascal tutorial (pdf - Tutorials Point

download pascal tutorial (pdf - Tutorials Point

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Converts string to all-lowercase<br />

26 function LowerCase( const V: variant ):; overload;<br />

Converts string to all-lowercase<br />

27 function NewStr( const S: ):PString; overload;<br />

Allocates new string on heap<br />

28 function RightStr( const S: ; Count: Integer ):;<br />

Gets last N characters of a string<br />

29 function StrAlloc( Size: Cardinal ):PChar;<br />

Allocates memory for string<br />

30 function StrBufSize( Str: PChar ):SizeUInt;<br />

Reserves memory for a string<br />

31 procedure StrDispose( Str: PChar );<br />

Removes string from heap<br />

32 function StrPas( Str: PChar ):;<br />

Converts PChar to <strong>pascal</strong> string<br />

33 function StrPCopy( Dest: PChar; Source: ):PChar;<br />

Copies <strong>pascal</strong> string<br />

34 function StrPLCopy( Dest: PChar; Source: ; MaxLen: SizeUInt ):PChar;<br />

Copies N bytes of <strong>pascal</strong> string<br />

35 function UpperCase( const s: ):;<br />

Converts string to all-uppercase<br />

TUTORIALS POINT<br />

Simply Easy Learning Page 78

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!