(searchValue: string | RegExp, replaceValue: string)
| 119 | } |
| 120 | |
| 121 | replace(searchValue: string | RegExp, replaceValue: string): this { |
| 122 | this.set(this.get().replace(searchValue, replaceValue)); |
| 123 | return this; |
| 124 | } |
| 125 | |
| 126 | remove(...queryPartsToRemove: string[]): this { |
| 127 | this.queryParts = this.getQueryParts().filter(queryPart => !queryPartsToRemove.includes(queryPart)); |