MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / ToCapital

Function ToCapital

FastCopy/ResourceHelper.cpp:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12winrt::hstring ToCapital(winrt::hstring word)
13{
14 assert(!word.empty());
15 std::wstring ret{word};
16 ret[0] = towupper(ret[0]);
17 return winrt::hstring{std::move(ret)};
18}

Callers 1

OperationStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected