lcfirst method

String lcfirst()

Convert the first character of the given string to lower-case.

Implementation

String lcfirst() {
  if (isEmpty) {
    return this;
  }

  return lower()[0] + substring(1);
}