# IF "Albumartist" IS "", "Albumartist" = "Artist"

**URL:** <https://community.mp3tag.de/t/if-albumartist-is-albumartist-artist/18018>\
**Category:** Support\
**Created:** [June 6, 2016, 10:01pm UTC](https://community.mp3tag.de/t/if-albumartist-is-albumartist-artist/18018 "2016-06-06T22:01:00Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Finu96](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/34f0e0/32.png) [@Finu96](https://community.mp3tag.de/u/Finu96)\
**Post date:** [June 7, 2016, 6:11am UTC](https://community.mp3tag.de/t/if-albumartist-is-albumartist-artist/18018/4 "2016-06-07T06:11:47Z")

</div>

> [@Rijkstra](#):
>
> This function will test ALBUMARTIST before executing the replacement:
> 
> $iflonger(a,b,x,y) if string a is longer than number b, x is returned, otherwise y.
> 
> _Action type:_ **Format value**  
> _Field:_ **ALBUMARTIST**  
> _Formatstring:_ **$iflonger(%albumartist%,0,%albumartist%,%artist%)**

Thank You!!!!! Is there a file or book or anything that has all this funtions explained, or at least listed so i can learn a bit from there? And leave you in peace

---

_[View the full topic](https://community.mp3tag.de/t/if-albumartist-is-albumartist-artist/18018)._
