stock ucfirst(string[]) { string[0] = toupper(string[0]); const dist = 'A' - 'a'; for (new i = 1, len = strlen(string), c; i < len; ++i) { if ('A' <= string[i] <= 'Z') string[i] -= dist; } }