MCPcopy Create free account
hub / github.com/NetHack/NetHack / str_titlecase

Function str_titlecase

win/Qt/qt_str.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29QString str_titlecase(const QString& str)
30{
31 if (str == "") { return str; }
32
33 return str.left(1).toUpper() + str.mid(1).toLower();
34}
35
36QString nh_capitalize_words(const QString& str)
37{

Callers 2

NhPSListViewRaceMethod · 0.85
nh_capitalize_wordsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected