# Auto-removal of trailing spaces; I LOVE it

**URL:** <https://speciforum.org/t/auto-removal-of-trailing-spaces-i-love-it/1059>\
**Category:** Give Development Feedback\
**Created:** [February 21, 2023, 5:10pm UTC](https://speciforum.org/t/auto-removal-of-trailing-spaces-i-love-it/1059 "2023-02-21T17:10:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HeatherC](https://avatars.discourse-cdn.com/v4/letter/h/ccd318/32.png) [@HeatherC](https://speciforum.org/u/HeatherC)\
**Post date:** [February 21, 2023, 5:10pm UTC](https://speciforum.org/t/auto-removal-of-trailing-spaces-i-love-it/1059/1 "2023-02-21T17:10:33Z")

</div>

Been spending a lot of time cleaning up taxon tree and authors. Some of our past errors have been from users who accidentally add spaces before/after the data entry.

I LOVE to see those trailing spaces auto-removed. I’m not 100% clear if leading spaces act the same way, but either way, GREAT!

H

---

<div class="post-metadata">

**Author:** ![NielsKlazenga](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@NielsKlazenga](https://speciforum.org/u/NielsKlazenga)\
**Post date:** [March 1, 2023, 12:56pm UTC](https://speciforum.org/t/auto-removal-of-trailing-spaces-i-love-it/1059/2 "2023-03-01T12:56:40Z")

</div>

You can get rid of the leading and trailing whitespace with the following SQL statement:

```auto
update taxon 
set Name = trim(Name),
	FullName = trim (FullName),
	Author = trim(Author);

```
