remove method

String remove()

Implementation

String remove() {
  removeFromStart();
  return removeFromEnd();
}