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

Method toUpper

source/core/StarString.cpp:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35String::Char String::toUpper(Char c) {
36 if (c >= 'a' && c <= 'z')
37 return c - 32;
38 else
39 return c;
40}
41
42bool String::charEqual(Char c1, Char c2, CaseSensitivity cs) {
43 if (cs == CaseInsensitive)

Callers 2

updateMethod · 0.80
TESTFunction · 0.80

Calls 3

reserveMethod · 0.45
lengthMethod · 0.45
appendMethod · 0.45

Tested by 1

TESTFunction · 0.64