# How can I keep leading and trailing spaces in a parsed string?

**URL:** https://community.mp3tag.de/t/how-can-i-keep-leading-and-trailing-spaces-in-a-parsed-string/55491
**Category:** Web Sources Discussion
**Created:** [December 12, 2021, 6:46pm UTC](https://community.mp3tag.de/t/how-can-i-keep-leading-and-trailing-spaces-in-a-parsed-string/55491 "2021-12-12T18:46:06Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![mr\_bug](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/3bc359/32.png) [@mr\_bug](https://community.mp3tag.de/u/mr_bug)
#### Post date: [December 13, 2021, 6:24pm UTC](https://community.mp3tag.de/t/how-can-i-keep-leading-and-trailing-spaces-in-a-parsed-string/55491/11 "2021-12-13T18:24:05Z")

</div>

`trim` is confirmed as working as intended here too.

There is an issue I'd consider similar when it comes to writing multiple tags of the same name for a single track ([post](https://community.mp3tag.de/t/write-multiple-tags-of-the-same-name-to-a-single-track/55506)).

---

_[View the full topic](https://community.mp3tag.de/t/how-can-i-keep-leading-and-trailing-spaces-in-a-parsed-string/55491)._
