refStringNew

Creates a new reference counted string and copies the contents of str into it.

string
refStringNew
(
string str
)

Parameters

str string

a NUL-terminated string

Return Value

Type: string

the newly created reference counted string