/* replace the text at given location with "lorem ipsum" */
fixer.replaceText(location,"lorem ipsum");
```
## `removeText` method
Removes the text at location, optionally trimming whitespace before or after.
**Syntax**
```ts nocompile nolint
removeText(location, [options]);
```
**Return value**
This method has no return value.
**Parameters**
-`location: Location`: The location of text to remove.
-`options.trimStart: boolean` (optional): Remove whitespace characters before the specified location, up to and including a single newline if present. Defaults to `false`.
-`options.trimEnd: boolean` (optional): Remove whitespace characters after the specified location, up to and including a single newline if present. Defaults to `false`.