0.1.0 • Published 10 years ago
sak-firsttoupper v0.1.0
Sak-firsttoupper
Version 0.1.0.
Capitalize the first letter of a string.
Created by Thomas de Zeeuw, thomasdezeeuw@gmail.com (https://thomasdezeeuw.nl/).
Released under a MIT license.
Exports
firstToUpper
Function, public.
Capitalize the first letter of a string.
Example
var string = 'my string'
, upperString = firstToUpper(string);
console.log('upperString', upperString) // upperString My string
Params
Name | Type |
---|---|
str | String |
Return
Description | Type |
---|---|
Same string starting with a capital character. | String |
Generated by Node-doc(https://github.com/Thomasdezeeuw/node-doc/ \"Node-doc\").
0.1.0
10 years ago