# Capitalizing first letter followed by dot

**URL:** https://community.mp3tag.de/t/capitalizing-first-letter-followed-by-dot/19036
**Category:** Support
**Created:** [June 9, 2017, 11:27pm UTC](https://community.mp3tag.de/t/capitalizing-first-letter-followed-by-dot/19036 "2017-06-09T23:27:20Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![arielthelastking](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/c77e96/32.png) [@arielthelastking](https://community.mp3tag.de/u/arielthelastking)
#### Post date: [June 9, 2017, 11:27pm UTC](https://community.mp3tag.de/t/capitalizing-first-letter-followed-by-dot/19036/1 "2017-06-09T23:27:20Z")

</div>

Xup, Partners

I have a problem trying to do a script but I can't figure out!!

the issue is the following

ORIGINAL TITLE IS: P.I.M.P

then I apply general script : $caps(%title%) in TITLE to Upper case each word like "I get money" to "I Get Money" but in the case of P.I.M.P result in P.i.m.p then I trying to figure out of how i can do a script to capitalize or upper first each word followed by (.) symbol if it exist then that script can do the "P.i.m.p" to "P.I.M.P"

how I can do that ??

Thanx in advance

---

<div class="post-metadata">

### Author: ![mjcm](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mjcm](https://community.mp3tag.de/u/mjcm)
#### Post date: [June 10, 2017, 3:03am UTC](https://community.mp3tag.de/t/capitalizing-first-letter-followed-by-dot/19036/2 "2017-06-10T03:03:37Z")

</div>

Try $caps2(%artist%)

Edit: sorry it should be of course $caps2(%title%) and not %artist% I assumed P.I.M.P. was artist ![:whistling:](https://community.mp3tag.de/uploads/default/original/1X/24af0b71cb3500e93c17fe8ea8f109476224851f.gif ":whistling:")

---

<div class="post-metadata">

### Author: ![mamyllyn](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@mamyllyn](https://community.mp3tag.de/u/mamyllyn)
#### Post date: [March 8, 2018, 4:13pm UTC](https://community.mp3tag.de/t/capitalizing-first-letter-followed-by-dot/19036/3 "2018-03-08T16:13:03Z")

</div>

Hello,

Please hold me in my hand and tell me how to do this.  
I have filenames like: "B.a.d." and it should be "B.A.D." etc.

Thank you!

---

<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 8, 2018, 6:37pm UTC](https://community.mp3tag.de/t/capitalizing-first-letter-followed-by-dot/19036/4 "2018-03-08T18:37:54Z")

</div>

What data have you got in your tags?

In general: if you apply an action of the type "Case conversion" then you can define after which character a word starts.  
Still, depending on the file system, you do not see any changes in case if the filename isn't also changed in at least one character position to a different or additional character (or one less).

---

<div class="post-metadata">

### Author: ![mamyllyn](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@mamyllyn](https://community.mp3tag.de/u/mamyllyn)
#### Post date: [March 8, 2018, 10:37pm UTC](https://community.mp3tag.de/t/capitalizing-first-letter-followed-by-dot/19036/5 "2018-03-08T22:37:35Z")

</div>

Hello,  
I have all the Basic Data in tags:  
I just dont figure out where and how to put the script " $caps2(%title%)"?

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [March 8, 2018, 10:56pm UTC](https://community.mp3tag.de/t/capitalizing-first-letter-followed-by-dot/19036/6 "2018-03-08T22:56:44Z")

</div>

If you simply want to change case of tags and filenames, please see the action "Case Conversion" as described here:

> [@Actions and batch-operations](https://community.mp3tag.de/t/actions-and-batch-operations/967/3):
>
> How to change upper/lower case of tag fields or filenames? Create a [new action](https://community.mp3tag.de/t/actions/967/2) in an existing action group and choose Case conversion as action type. Field determines which parts of the tags/filename should be changed. Case conversion determines how the upper/lower case of the field will be changed. If you want for example mark chars after a left parenthesis or a hyphen as the begin of a word, enter the respective char under Words begin from/after any of.

If you really want to use a scripting function like `$caps2`, you'd need to use either an action "Format value" or use it while renaming the file from the tag with the converter "Tag - Filename".

However, you'd need to use `$caps2(%title%,'.')` so that the dot is treated as separator character.

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [August 8, 2025, 9:29am UTC](https://community.mp3tag.de/t/capitalizing-first-letter-followed-by-dot/19036/7 "2025-08-08T09:29:32Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
