function capitalizeFirstLetter(string) {
  if (string.charAt(0) == "\"") {
    return "\"" + string.charAt(1).toUpperCase() + string.slice(2);
  }
  return string.charAt(0).toUpperCase() + string.slice(1);
}
/**************************************************************************
 Capitalizes first letter of the string, or second letter if string starts with
 quotation mark
 Params:
 - String to process
 Returns:
 - String with the first capital letter
 **************************************************************************/
Capitalizes first letter of the string, or second letter if string starts with
quotation mark
Params:
String to process
Returns:
String with the first capital letter
Capitalizes first letter of the string or second letter if string starts with quotation mark Params : String to process Returns : String with the first capital letter
function capitalizeFirstLetter(string) {
  if (string.charAt(0) == "\"") {
    return "\"" + string.charAt(1).toUpperCase() + string.slice(2);
  }
  return string.charAt(0).toUpperCase() + string.slice(1);
}
function capitalizeFirstLetter ( string ) { if ( string . charAt ( 0 ) == "\"" ) { return "\"" + string . charAt ( 1 ) . toUpperCase ( ) + string . slice ( 2 ) ; } return string . charAt ( 0 ) . toUpperCase ( ) + string . slice ( 1 ) ; }
Capitalizes first letter of the string, or second letter if string starts with
quotation mark
Params:
 String to process
Returns:
 String with the first capital letter
Capitalizes first letter of the string or second letter if string starts with quotation mark Params : String to process Returns : String with the first capital letter