# Action to remove leading zero and total tracks

**URL:** https://community.mp3tag.de/t/action-to-remove-leading-zero-and-total-tracks/11585
**Category:** Support
**Created:** [February 13, 2011, 11:52am UTC](https://community.mp3tag.de/t/action-to-remove-leading-zero-and-total-tracks/11585 "2011-02-13T11:52:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![LifesSweetDrug](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/ce7236/32.png) [@LifesSweetDrug](https://community.mp3tag.de/u/LifesSweetDrug)
#### Post date: [February 13, 2011, 11:52am UTC](https://community.mp3tag.de/t/action-to-remove-leading-zero-and-total-tracks/11585/1 "2011-02-13T11:52:35Z")

</div>

Has anyone created an action to remove leading zero and remove /total tracks on the track field?

I have been using the autonumber wizard to do this but it would be a lot quicker to just use an action. I have tried to create one but I am failing miserably.

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [February 13, 2011, 12:02pm UTC](https://community.mp3tag.de/t/action-to-remove-leading-zero-and-total-tracks/11585/2 "2011-02-13T12:02:16Z")

</div>

Make a [new action](https://community.mp3tag.de/t/967/1)

_Action type:_ **Format value**  
_Field:_ **TRACK**  
_Formatstring:_ **[$num(%track%,1)]**

---

<div class="post-metadata">

### Author: ![LifesSweetDrug](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/ce7236/32.png) [@LifesSweetDrug](https://community.mp3tag.de/u/LifesSweetDrug)
#### Post date: [February 13, 2011, 12:06pm UTC](https://community.mp3tag.de/t/action-to-remove-leading-zero-and-total-tracks/11585/3 "2011-02-13T12:06:11Z")

</div>

Thanks for the quick reply, works perfectly 🙂

---

<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:22pm UTC](https://community.mp3tag.de/t/action-to-remove-leading-zero-and-total-tracks/11585/4 "2026-02-09T12:22:54Z")

</div>


