# Can we use two functions at a time ??

**URL:** <https://community.mp3tag.de/t/can-we-use-two-functions-at-a-time/17849>\
**Category:** Support\
**Created:** [April 16, 2016, 2:17am UTC](https://community.mp3tag.de/t/can-we-use-two-functions-at-a-time/17849 "2016-04-16T02:17:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![imanish](https://community.mp3tag.de/user_avatar/community.mp3tag.de/imanish/32/467_2.png) [@imanish](https://community.mp3tag.de/u/imanish)\
**Post date:** [April 16, 2016, 2:17am UTC](https://community.mp3tag.de/t/can-we-use-two-functions-at-a-time/17849/1 "2016-04-16T02:17:49Z")

</div>

Hi everyone,

As I have some Preview/Sample mp3 files in my collection and have added (= Preview) in all the file's title which have %\_length\_seconds% less than 30 seconds.  
when I downloaded some files full version I just copied the tags from the preview files to new files so got the (= Preview) tag added to both the files either it is Full version song or preview.

Now my question is to remove the (= Preview) tag from the Full version songs using action, I was trying to use this syntax but didn't get working,  
please anyone correct this

if the %\_length\_seconds% is greater than 30, replace = Preview from the title tag otherwise left it as it is.

$ifgreater(%\_length\_seconds%,30, $replace(%title%, = Preview,),%title%)

Hope someone help.

thanks

Please have a look on my previous question also, you may help me out:  
[/t/17815/1](https://community.mp3tag.de/t/17815/1)

---

<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 16, 2016, 3:28am UTC](https://community.mp3tag.de/t/can-we-use-two-functions-at-a-time/17849/2 "2016-04-16T03:28:17Z")

</div>

> [@Manish Kumar Singh](#):
>
> ... As I have some Preview/Sample mp3 files in my collection and have added (= Preview) in all the file's title which have %\_length\_seconds% less than 30 seconds. ... Now my question is to remove the (= Preview) tag from the Full version songs using action, I was trying to use this syntax but did get working ...

Because your description is not so clear about which string is actually embedded in the TITLE tag, here is a proposal, which is able to remove different text strings within one $replace function ...

**$ifgreater(%\_length\_seconds%,30,$replace(%TITLE%,' = Preview',,'= Preview',,' (= Preview)',,'(= Preview)',),%TITLE%)**

DD.20160416.0735.CEST

---

<div class="post-metadata">

**Author:** ![imanish](https://community.mp3tag.de/user_avatar/community.mp3tag.de/imanish/32/467_2.png) [@imanish](https://community.mp3tag.de/u/imanish)\
**Post date:** [April 16, 2016, 9:56am UTC](https://community.mp3tag.de/t/can-we-use-two-functions-at-a-time/17849/3 "2016-04-16T09:56:23Z")

</div>

> [@DetlevD](#):
>
> Because your description is not so clear about which string is actually embedded in the TITLE tag, here is a proposal, which is able to remove different text strings within one $replace function ...
> 
> **$ifgreater(%\_length\_seconds%,30,$replace(%TITLE%,' = Preview',,'= Preview',,' (= Preview)',,'(= Preview)',),%TITLE%)**
> 
> DD.20160416.0735.CEST

sorry for the bad description, just wanted to remove = Preview from the title.  
got the perfect syntax.

thanks a lot....

---

<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:26pm UTC](https://community.mp3tag.de/t/can-we-use-two-functions-at-a-time/17849/4 "2026-02-09T12:26:12Z")

</div>

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


