Welcome Guest

Pages: 1
(Re)move Leading Articles
framePostMay 28, 2025, 10:46
Newbie
Posts: 16
Registered:
October 5, 2020, 22:12
Normal topic(Re)move Leading Articles

hi. what would be the best way, if at all achievable, to rename entries like

The AAA

to

AAA, the

I'm aware of existence of Remove/Keep Leading Articles, but this is not exactly what I'm looking for.
Or... need to user Remove function and stitch ", the" at the end?
Thanks

2MR2PostMay 28, 2025, 10:57
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topic(Re)move Leading Articles

Well I'm assuming that you mean an entire field and not anywhere in a text string.

In the Multi Field Editor the Sort Form tab's, Set Last Name, First Name function will change:

The Rolling Stones

to

Rolling Stones, The

If you want to do it in an action, there is a Sort Form statement.

If you really want 'The' to end up as 'the' ... it'll have to be an action. Let me know.

framePostMay 28, 2025, 11:40
Newbie
Posts: 16
Registered:
October 5, 2020, 22:12
Normal topic(Re)move Leading Articles

I was hoping to use it in a rename template while creating folders based on album artist filed. So either user "Remove" and add some text there or use another field already formatted accordingly?

2MR2PostMay 28, 2025, 12:04
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topic(Re)move Leading Articles

It can be done in a rename template/action. I'm just wrapping something else up and then I'll send you a sample.

2MR2PostMay 28, 2025, 12:53
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topic(Re)move Leading Articles

Actually, you do not want to use Last Name, First Name as I said, you want Set for Sorting which moves leading articles.

I've uploaded an action to https://2manyrobots.com/actions/Rename-Using-Sort-Form-for-Album-Artist.zip

Install the action. It will be available on the Rename menu on the Actions submenu.

It'll prompt you for your rename template the first time you run it.

Change the Album Artist token in the template to Variable 1.

The action has ~30 lines which get the template name and verify that it has a Variable 1 token. The actual rename is the last three lines.

framePostMay 28, 2025, 14:26
Newbie
Posts: 16
Registered:
October 5, 2020, 22:12
Normal topic(Re)move Leading Articles

Much appreciated (again). Looking into it.

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.025 seconds.