Home > dev > api > name > gb.newstring 
 en fr de es it nl pl pt pt_BR sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
GB.NewString
char* GB.NewString ( const char *copy , long len );

Allocates a new string by coying an existing one.

Then return a pointer to the new string.

If len is zero, then the function assumes that copy points to a null-terminated string, and calculates its length with the strlen() function.

See also

api/cat/string