operator - method

String operator -(
  1. String src
)

移除字符串中的指定子字符串

返回移除指定子字符串后的字符串

Implementation

String operator -(String src) {
  return replaceAll(src, '');
}