removeFirstChar method

String removeFirstChar()

删除第一个字符

Implementation

String removeFirstChar() {
  if (isEmpty) return this;
  return substring(1, length);
}