function ucFirst(str) {
    return (str.length > 0) ? str[0].toUpperCase() + str.substring(1) : str;
}

