MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / trim_inplace

Function trim_inplace

src/common/string_utils.cpp:39–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void trim_inplace(std::wstring &s) {
40 ltrim_inplace(s);
41 rtrim_inplace(s);
42}
43
44size_t find_case_insensitive(const std::string_view &str_haystack, const std::string_view &str_needle) {
45 // courtesy of https://stackoverflow.com/a/19839371/1269661

Callers 3

is_ftp_urlFunction · 0.85
is_github_urlFunction · 0.85
ftp_trimFunction · 0.85

Calls 2

ltrim_inplaceFunction · 0.85
rtrim_inplaceFunction · 0.85

Tested by

no test coverage detected