Hi,
when I try to capitalize the audio language in the filename like {audio.language.upper()}, I get:
Is this a bug or do I have to solve this another way?
Norman
Can't use upper() method on audio.language
Re: Can't use upper() method on audio.language
try {audio.language.join().upper()} or {audio.language.toString().upper()} or {audio.language[0].upper()}
Re: Can't use upper() method on audio.language
I think you're looking for this:
The Groovy manual will tell you why . works only for properties and why *. works for methods and properties.
Code: Select all
{audioLanguages.ISO2*.upper()}
Please read the FAQ and How to Request Help.