# Assign number to word?

**URL:** https://community.mp3tag.de/t/assign-number-to-word/15666
**Category:** Support
**Created:** [April 19, 2014, 12:35pm UTC](https://community.mp3tag.de/t/assign-number-to-word/15666 "2014-04-19T12:35:44Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [April 19, 2014, 3:17pm UTC](https://community.mp3tag.de/t/assign-number-to-word/15666/3 "2014-04-19T15:17:41Z")

</div>

> [@marcusj0015](#):
>
> How can I assign a number to a specific word? for example, I'm trying to display the iTunesAdvisory tag (basically it tells you if a song is the clean version or the explicit version) and the tag is stored with a value of 0 if the tag doesn't exist, 2 if it's clean, and 4 if it's explicit, I want to basically have mp3tag read that tag, and instead of printing a 4, I want it to print "Explicit", how can I do this? ...

See also ...  
[iTunes metadata](https://community.mp3tag.de/t/9596/5)

**$ifgreater(%ITUNESADVISORY%,3,'Explicit',$ifgreater(%ITUNESADVISORY%,1,'Clean','None') $replace(%ITUNESADVISORY%,0,'None',2,'Clean',4,'Explicit')**

**New with Mp3tag v2.59**

**$ifgreater(%ITUNESADVISORY%,1,'Clean',$ifgreater(%ITUNESADVISORY%,0,'Explicit','None') $replace(%ITUNESADVISORY%,0,'None',1,'Explicit',2,'Clean')**

See also ...  
[https://docs.mp3tag.de/mapping/#tag-fields-exclusive-to-mp4](https://docs.mp3tag.de/mapping/#tag-fields-exclusive-to-mp4)

DD.20140419.1918.CEST, DD.20140420.2037.CEST

---

_[View the full topic](https://community.mp3tag.de/t/assign-number-to-word/15666)._
