mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-27 14:16:34 +00:00
258 B
258 B
string.capitalize()
(ext/string_/capitalize)
Capitalize input string, e.g. convert this is a test
into This is a test
.
const capitalize = require("ext/string_/capitalize");
capitalize.call("this is a test"); // This is a test