StringG.assign

Copies the bytes from a string into a #GString, destroying any previous contents. It is rather like the standard strcpy() function, except that you do not have to worry about having enough space to copy the string.

class StringG
assign
(
string rval
)

Parameters

rval string

the string to copy into @string

Return: @string

Meta