MCPcopy Create free account
hub / github.com/blender/cycles / string_strip

Function string_strip

src/util/string.cpp:137–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137string string_strip(const string &s)
138{
139 string result = s;
140 result.erase(0, result.find_first_not_of(' '));
141 result.erase(result.find_last_not_of(' ') + 1);
142 return result;
143}
144
145void string_replace(string &haystack, const string &needle, const string &other)
146{

Callers 4

TESTFunction · 0.85
string_remove_trademarkFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68