MCPcopy Create free account
hub / github.com/baldurk/renderdoc / strip_nonbasic

Function strip_nonbasic

renderdoc/strings/string_utils.cpp:172–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172void strip_nonbasic(rdcstr &str)
173{
174 for(char &c : str)
175 {
176 if((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9') || c == '.' ||
177 c == ' ')
178 continue;
179
180 c = '_';
181 }
182}
183
184void split(const rdcstr &in, rdcarray<rdcstr> &out, const char sep)
185{

Callers 4

string_utils.cppFile · 0.85
TargetControlMethod · 0.85
ReceiveMessageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected