MCPcopy Create free account
hub / github.com/VitalAudio/visage / substring

Method substring

visage_utils/string_utils.h:387–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385 bool isEmpty() const { return string_.empty(); }
386
387 String substring(size_t position = 0, size_t count = std::u32string::npos) const {
388 return string_.substr(position, count);
389 }
390
391 String trim() const {
392 size_t start = string_.find_first_not_of(U" \t\n\r");

Callers 5

setTextMethod · 0.80
deleteSelectedMethod · 0.80
selectionMethod · 0.80
insertTextAtCaretMethod · 0.80
preprocessWebGlShaderFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected