Home / api / name / gb.newstring 
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration   
fr  de  es  it  nl  pl  pt  pt_BR  ca  ar  fa  vi  ja  ru  zh  zh_TW  eo 
Documentation
History
 
GB.NewString
Syntax
void GB.NewString ( char **str , const char *copy , long len );

Allocates a new string by coying an existing one.

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

String Management