$replacemulti and $cleanmulti don't provide expected result

B

bishnubee

Guest
Hi, I’m new to Picard.

I’m trying to remove the ‘album’ value in %releasetype% when there is more than one value in that tag.

%releasetype% => “album; compilation; broadcast”
$replacemulti(%releasetype%,album,) => “compilation; broadcast”
%releasetype% => “; compilation; broadcast”
$cleanmulti(%releasetype%) => “”
%releasetype% “; compilation; broadcast”
$getmulti(%releasetype%,2) => “broadcast”

As you can see only “$replacemulti(%releasetype%,album,)” output the correct thing yet I cannot get %releasetype% to be clean, i.e, without the "; " at the beginning.
I suppose I could trim that part, but $replacemulti and $cleanmulti should have had already taken care of that.

What’s wrong ?

1 post - 1 participant

Read full topic

Continue reading...
 
Top