tocapitalize method

String tocapitalize()

Implementation

String tocapitalize() {
  return "${this[0].toUpperCase()}${substring(1)}";
}