I am trying to format title field with file modified date using following IF script $if($right(%title%,1)=},%title%%_file_mod_date%,%title%):
i.e. if the title ends with a right brace "}" character, add file modified date to end of the title, else leave it as it is:
However it always appends the date. I tried enclosing the brace character in the test condition in single or double quotes "}" or '}' but it seems to have no effect. Looks like I don't know scripts at all.
Please help what am I doing wrong?