# Mixed Case modification needed

**URL:** https://community.mp3tag.de/t/mixed-case-modification-needed/11665
**Category:** General Discussion
**Created:** [March 4, 2011, 7:27am UTC](https://community.mp3tag.de/t/mixed-case-modification-needed/11665 "2011-03-04T07:27:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Paceman60](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/c6cbf5/32.png) [@Paceman60](https://community.mp3tag.de/u/Paceman60)
#### Post date: [March 4, 2011, 7:27am UTC](https://community.mp3tag.de/t/mixed-case-modification-needed/11665/1 "2011-03-04T07:27:35Z")

</div>

I use the built in case conversion a lot, but every now and then there is a song title that doesn't convert right. Sometimes artists like to name their songs with only capital letters, divided with punctuation marks, ie Xavier Rudd has one song called G.B.A which converts to G.b.a which is not correct. I think it would be fairly easy to modify the routine to capitalize letters directly following a punct. mark in addition to those following a space.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [March 4, 2011, 8:06am UTC](https://community.mp3tag.de/t/mixed-case-modification-needed/11665/2 "2011-03-04T08:06:14Z")

</div>

> [@Paceman60](#):
>
> ... I think it would be fairly easy to modify the routine ...

Yes, indeed. And the good thing: you can do it yourself.  
Just create a new action, give it sensible name e.g. "Paceman60 Capitalization" (ok, I said "sensible")

Select as type "capitals" (or whatever that is called in English)  
Select the field or \_all for all fields  
Select "normal" as the format  
Enter the alphanumeric letters you would like to have as word limiter, e.g.

[ \< ( /".

and everything should work out nicely.

---

<div class="post-metadata">

### Author: ![Paceman60](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/c6cbf5/32.png) [@Paceman60](https://community.mp3tag.de/u/Paceman60)
#### Post date: [March 4, 2011, 10:23am UTC](https://community.mp3tag.de/t/mixed-case-modification-needed/11665/3 "2011-03-04T10:23:32Z")

</div>

> [@ohrenkino](#):
>
> Yes, indeed. And the good thing: you can do it yourself.

I know that, I have made quite a few custom actions which do quite a lot of useful stuff. My intention was that it just shouldn't be necessary for each user to do it themselves when it is so easily implemented.

---

<div class="post-metadata">

### Author: ![JJ\_Johnson](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jj_johnson/32/67_2.png) [@JJ\_Johnson](https://community.mp3tag.de/u/JJ_Johnson)
#### Post date: [March 5, 2011, 3:59am UTC](https://community.mp3tag.de/t/mixed-case-modification-needed/11665/4 "2011-03-05T03:59:48Z")

</div>

> [@Paceman60](#):
>
> I think it would be fairly easy to modify the routine to capitalize letters directly following a punct. mark in addition to those following a space.

This capability already exists. The case conversion action and the $caps() and $caps2() scripting functions let you designate additional characters that trigger the start of a word. I'm not sure any of them only capitalize letters following spaces, but instead also recognize a few punctuation characters. You can easily add the period and any other characters that you like.

I tend to only use $caps2(), so that caps already within the string are preserved. See the documentation on scripting functions.
