MCPcopy Create free account
hub / github.com/CytopiaTeam/Cytopia / StringErase

Function StringErase

external/as_add_on/scriptstdstring/scriptstdstring.cpp:419–423  ·  view source on GitHub ↗

AngelScript signature: void string::erase(uint pos, int count = -1)

Source from the content-addressed store, hash-verified

417// AngelScript signature:
418// void string::erase(uint pos, int count = -1)
419static void StringErase(unsigned int pos, int count, string &str)
420{
421 // We don't register the method directly because the argument types change between 32bit and 64bit platforms
422 str.erase(pos, (size_t)(count < 0 ? string::npos : count));
423}
424
425
426// AngelScript signature:

Callers 1

StringErase_GenericFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected