# How do you evaluate if there is 2 discs or not I'm under Rename?

**URL:** https://community.mp3tag.de/t/how-do-you-evaluate-if-there-is-2-discs-or-not-im-under-rename/18054
**Category:** Support
**Created:** [June 21, 2016, 11:11pm UTC](https://community.mp3tag.de/t/how-do-you-evaluate-if-there-is-2-discs-or-not-im-under-rename/18054 "2016-06-21T23:11:39Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![DevXen](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/b38774/32.png) [@DevXen](https://community.mp3tag.de/u/DevXen)
#### Post date: [June 22, 2016, 12:53pm UTC](https://community.mp3tag.de/t/how-do-you-evaluate-if-there-is-2-discs-or-not-im-under-rename/18054/4 "2016-06-22T12:53:59Z")

</div>

> [@ohrenkino](#):
>
> I would clear those discnumber fields first that apparently have no decent contents.
> 
> The square brackets in a format string serve as "if" operator.  
> So %album%[- %discnumber%]  
> would lead to  
> The Lamb lies down on broadway - 1  
> if %discnumber% is 1  
> and to  
> Abacab  
> if discnumber is not filled.
> 
> Perhaps this is what you are looking for.

Thanks to both of you, I actually was able to get it to work with this (In Case anyone else needs to get it working):  
$if($grtr($right(%discnumber%,1),1),Disc 0$num(%discnumber%,1) - ,)

---

_[View the full topic](https://community.mp3tag.de/t/how-do-you-evaluate-if-there-is-2-discs-or-not-im-under-rename/18054)._
