IOTConnect-Web/node_modules/ext/docs/string_/capitalize.md
2024-05-09 09:49:52 +08:00

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