Previous: 4.66.2.46. StrMove function To the Table of Contents Next: 4.66.2.48. StrPas function
4.66.2.46. StrMove function Table of Contents 4.66.2.48. StrPas function

- 4.66.2.47. -
Table of Contents
4. Standard Units
4.66. Strings - Large string manipulation unit
4.66.2. Strings Unit Procedures and Functions
4.66.2.47. StrNew function


4.66.2.47. StrNew function

Targets: MS-DOS, OS/2, Win32


Strings Unit

The StrNew function allocates space on and copies a string to the heap; returns a pointer to the string.

Declaration:
function StrNew(Str: PWChar): PWChar;
function StrNew(Str: PChar): PChar;



Previous: 4.66.2.46. StrMove function To the Table of Contents Next: 4.66.2.48. StrPas function
4.66.2.46. StrMove function Table of Contents 4.66.2.48. StrPas function

- 4.66.2.47. -