# How can I correct the track number

**URL:** <https://community.mp3tag.de/t/how-can-i-correct-the-track-number/16966>\
**Category:** Support\
**Created:** [June 14, 2015, 3:21pm UTC](https://community.mp3tag.de/t/how-can-i-correct-the-track-number/16966 "2015-06-14T15:21:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobenilona](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/7ba0ec/32.png) [@bobenilona](https://community.mp3tag.de/u/bobenilona)\
**Post date:** [June 14, 2015, 3:21pm UTC](https://community.mp3tag.de/t/how-can-i-correct-the-track-number/16966/1 "2015-06-14T15:21:22Z")

</div>

Hi,

Several track numbers contain 3 digits (for example 101 or 210). How can I correct the track number? I want to delete the first number. The first number is the disk number.

Thanks!

Bob

---

<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:** [June 14, 2015, 3:27pm UTC](https://community.mp3tag.de/t/how-can-i-correct-the-track-number/16966/2 "2015-06-14T15:27:49Z")

</div>

Use an action of the type "Format value" for TRACK  
Format string: $right(%track%,2)

This leaves the 2 characters from the right end of the string.

Now: if you want to preserve the discnumber and fill the field DISCNUMBER, then you can use the following action BEFORE you apply the one I mentioned before:  
Format value for DISCNUMBER  
Format string: $div(%track%,100)  
and right afterwards in the same action group you can use one for TRACK  
Format value for TRACK  
Format string: $mod(%track%,100)

The last action has the same effect as the first one with $right() - it only uses a similar mathematical function - so many routes lead to Rome.

---

<div class="post-metadata">

**Author:** ![bobenilona](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/7ba0ec/32.png) [@bobenilona](https://community.mp3tag.de/u/bobenilona)\
**Post date:** [June 14, 2015, 3:44pm UTC](https://community.mp3tag.de/t/how-can-i-correct-the-track-number/16966/3 "2015-06-14T15:44:03Z")

</div>

> [@ohrenkino](#):
>
> Use an action of the type "Format value" for TRACK  
> Format string: $right(%track%,2)
> 
> This leaves the 2 characters from the right end of the string.
> 
> Now: if you want to preserve the discnumber and fill the field DISCNUMBER, then you can use the following action BEFORE you apply the one I mentioned before:  
> Format value for DISCNUMBER  
> Format string: $div(%track%,100)  
> and right afterwards in the same action group you can use one for TRACK  
> Format value for TRACK  
> Format string: $mod(%track%,100)
> 
> The last action has the same effect as the first one with $right() - it only uses a similar mathematical function - so many routes lead to Rome.

@ohrenkino

Thank you for your quick response, and it works great!!!

---

<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:25pm UTC](https://community.mp3tag.de/t/how-can-i-correct-the-track-number/16966/4 "2026-02-09T12:25:43Z")

</div>

Closed on February 9, 2026, 12:25pm UTC


