uppercaseFirst method

String uppercaseFirst()

Results this string with the first char uppercased

january -> January

Implementation

String uppercaseFirst() {
  final first = substring(0, 1);
  return first.toUpperCase() + substring(1);
}