Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diasurgical/DevilutionX
/ TrimLeft
Function
TrimLeft
Source/utils/language.cpp:106–110 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
104
}
105
106
string_view TrimLeft(string_view str)
107
{
108
str.remove_prefix(std::min(str.find_first_not_of(
" \t"
), str.size()));
109
return str;
110
}
111
112
string_view TrimRight(string_view str)
113
{
Callers
2
SetPluralForm
Function · 0.85
ParseMetadata
Function · 0.85
Calls
1
size
Method · 0.45
Tested by
no test coverage detected