Author Topic: Folder renaming  (Read 1501 times)

Nokiaman

  • Jr. Member
  • **
  • Posts: 63
I was trying to make my folder structure more consistent, but there's huge problem in MB that I can't solve. I have plenty of albums using : in their names so I wanted to replace them with - realizing that's lot more annoying that I thought.
Example:
Name: Naming becomes Name- Naming
which is just bad. I want it to be Name - Naming which is how it's usually done, but character replacer eats any character after the first one for reasons I don't get.
This is so frustrating and I can't find how to do this  :-X

redwing

  • Guest
Not sure why you want to replace colon, but the following formula will do instead of using character mapping.

$Replace(<Album>,:," - ")

boroda

  • Hero Member
  • *****
  • Posts: 3816
Not sure why you want to replace colon, but the following formula will do instead of using character mapping.
because its illegal char in windows filenames

redwing

  • Guest
because its illegal char in windows filenames

Right, I completely forgot the context of the question. I'm also using a similar formula to replace colons in album name in my template.

Nokiaman

  • Jr. Member
  • **
  • Posts: 63
Not sure why you want to replace colon, but the following formula will do instead of using character mapping.

$Replace(<Album>,:," - ")

OH MY GOD. Thank you so much! :)
Is there any place this is documented? I couldn't find anything.