refStringNew

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

Return

the newly created reference counted string

Since

2.58

Parameters

str

a NUL-terminated string