MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / hasCharOrWhitespace

Method hasCharOrWhitespace

source/core/StarString.cpp:403–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401}
402
403bool String::hasCharOrWhitespace(Char c) const {
404 if (empty())
405 return isSpace(c);
406 else
407 return hasChar(c);
408}
409
410String String::replace(String const& rplc, String const& val, CaseSensitivity cs) const {
411 size_t index;

Callers 5

splitAnyMethod · 0.45
trimEndMethod · 0.45
trimBegMethod · 0.45
findFirstOfMethod · 0.45
findFirstNotOfMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected