RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.NewStr Function

Allocates a string on the heap.

Pascal
function NewStr(const S: string): PString; deprecated;
C++
PString NewStr(const AnsiString S);

SysUtils

NewStr allocates a new string on the heap. Do not use NewStr in new applications. This function is provided for backward compatibility only. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!