(charType)
| 1023 | return this.trim('[\\r\\n]'); |
| 1024 | } |
| 1025 | trim(charType) { |
| 1026 | return this.trimStart(charType).trimEnd(charType); |
| 1027 | } |
| 1028 | trimStart(charType) { |
| 1029 | const rx = new RegExp('^' + (charType || '\\s') + '+'); |
| 1030 | this.intro = this.intro.replace(rx, ''); |