removeSpaces method

String removeSpaces()

Implementation

String removeSpaces() {
  if (isEmpty) {
    return this;
  }
  return replaceAll(' ', '');
}