Put the first letter of a string in capital
function capitalize(str: string)
str:string
The string to trim.
The capitalized string.
import { capitalize } from '@deskpro/js-utils/dist/strings';
console.log(capitalize('abcdefg')); // Outputs Abcdefg