MCPcopy Create free account
hub / github.com/adventuregamestudio/ags / CreateNewScriptString

Function CreateNewScriptString

Engine/ac/string.cpp:52–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51
52const char *CreateNewScriptString(const char *text)
53{
54 return static_cast<const char*>(ScriptString::Create(text).Obj());
55}
56
57// Gets a offset corresponding to a character index in a script String;
58// tries to speed up utf-8 offset calculation by using recorded previous result

Callers 13

String_JoinFunction · 0.70
String_CopyFunction · 0.70
String_AppendFunction · 0.70
String_AppendCharFunction · 0.70
String_ReplaceCharAtFunction · 0.70
String_TruncateFunction · 0.70
String_TrimFunction · 0.70
String_SubstringFunction · 0.70
String_ReplaceFunction · 0.70
String_LowerCaseFunction · 0.70
String_UpperCaseFunction · 0.70
Sc_String_FormatFunction · 0.70

Calls 1

ObjMethod · 0.80

Tested by

no test coverage detected