MCPcopy Create free account
hub / github.com/deathcap/ProgrammerArt / ucfirst

Function ucfirst

scripts/modpack_data.js:20–22  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

18};
19
20var ucfirst = function(s) {
21 return s.substr(0, 1).toUpperCase() + s.substring(1);
22};
23
24var substituteVariables = function(s, value) {
25 return s.replace('<LOWER>', value).replace('<UCFIRST>', ucfirst(value));

Callers 1

substituteVariablesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected