首页 > dev > api > name > gb.newstring 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
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.

参见

api/cat/string