# The first and last mark spacing

**URL:** <https://community.mp3tag.de/t/the-first-and-last-mark-spacing/46005>\
**Category:** Support\
**Created:** [July 26, 2019, 3:46pm UTC](https://community.mp3tag.de/t/the-first-and-last-mark-spacing/46005 "2019-07-26T15:46:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![valas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/valas/32/6669_2.png) [@valas](https://community.mp3tag.de/u/valas)\
**Post date:** [July 26, 2019, 3:46pm UTC](https://community.mp3tag.de/t/the-first-and-last-mark-spacing/46005/1 "2019-07-26T15:46:48Z")

</div>

I do not know if this is a bug or not,  
It should not be saved space in all tags when it is first and last.  
Because this is saved in the file name convert (convert -\> tag-filename)

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [July 26, 2019, 3:48pm UTC](https://community.mp3tag.de/t/the-first-and-last-mark-spacing/46005/2 "2019-07-26T15:48:43Z")

</div>

as one never knows whether such a thing is intentional or not, there is a function to remove leading and trailing spaces:  
$trim()  
see the string functions in the help: [Scripting Functions – Mp3tag Documentation](https://docs.mp3tag.de/scripting/#string-functions)

E.g. in the function Convert\>Tag-Filename, you can enter as  
format string: `$trim(%artist%)_$trim(%album%)_$trim(%title%)`

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [February 9, 2026, 12:28pm UTC](https://community.mp3tag.de/t/the-first-and-last-mark-spacing/46005/3 "2026-02-09T12:28:11Z")

</div>


