# Create abbreviation

**URL:** <https://community.mp3tag.de/t/create-abbreviation/53802>\
**Category:** Support\
**Created:** [July 19, 2021, 10:41pm UTC](https://community.mp3tag.de/t/create-abbreviation/53802 "2021-07-19T22:41:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ferolyn](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/ed8c4c/32.png) [@ferolyn](https://community.mp3tag.de/u/ferolyn)\
**Post date:** [July 19, 2021, 10:41pm UTC](https://community.mp3tag.de/t/create-abbreviation/53802/1 "2021-07-19T22:41:59Z")

</div>

In one field I have a first & last name. I would like to take the first two letters of each to populate a second field. Eg. "Tabatha Fisher" -\> "TaFi". I can manage the first half, but cannot seem to figure out the (surely simple) command for "also copy the first two after the space".

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![ryerman](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ryerman/32/5285_2.png) [@ryerman](https://community.mp3tag.de/u/ryerman)\
**Post date:** [July 20, 2021, 12:30am UTC](https://community.mp3tag.de/t/create-abbreviation/53802/2 "2021-07-20T00:30:35Z")

</div>

For the complete transformation, try this:  
`$caps3($left(%`_YourFieldHere_`%,2))$caps3($trim($mid(%`_YourFieldHere_`%,$strchr(%`_YourFieldHere_`%, ),3)))`

You don't need the `$caps3` function if you are sure both names are capitalized.

---

<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:** [July 20, 2021, 4:24am UTC](https://community.mp3tag.de/t/create-abbreviation/53802/3 "2021-07-20T04:24:22Z")

</div>

A regular expression would also work:  
`$regexp('Tabatha Fisher',(..).* (..).*,$1$2)`

---

<div class="post-metadata">

**Author:** ![ryerman](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ryerman/32/5285_2.png) [@ryerman](https://community.mp3tag.de/u/ryerman)\
**Post date:** [July 20, 2021, 4:33am UTC](https://community.mp3tag.de/t/create-abbreviation/53802/4 "2021-07-20T04:33:24Z")

</div>

👍  
In English, there is this proverb: "There’s more than one way to skin a cat" 😉

---

<div class="post-metadata">

**Author:** ![ferolyn](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/ed8c4c/32.png) [@ferolyn](https://community.mp3tag.de/u/ferolyn)\
**Post date:** [July 22, 2021, 8:29pm UTC](https://community.mp3tag.de/t/create-abbreviation/53802/5 "2021-07-22T20:29:55Z")

</div>

Definitely multiple ways to skin a cat, and even more ways to program a simple command. 😃 Thanks to both of 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:** [July 23, 2021, 6:40am UTC](https://community.mp3tag.de/t/create-abbreviation/53802/6 "2021-07-23T06:40:58Z")

</div>

After you have skinned the cat on one of the many routes leading to Rome:  
This really only works for first word, then the rest.  
It will not work for names that are just a single word like  
Avicii  
Faithless  
Milow  
Stanfour.  
How will you tread AC/DC?

What happens to longer names like  
Diana Ross & the Supremes? How do you differentiate them from the plain Diana Ross?  
Some more?  
Middle of the Road  
Three Dog Night  
Manfred Mann's Earth Band  
Frankie goes to Hollywood  
J. Geils Band  
Les Humphries Singers  
Lynsey de Paul  
Orchestral Manoeuvres in the Dark  
and so forth and so on.  
So, yes, it is technically possible to automate such a generation. But whether it really makes sense is a different thing.

---

<div class="post-metadata">

**Author:** ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)\
**Post date:** [August 12, 2021, 3:09pm UTC](https://community.mp3tag.de/t/create-abbreviation/53802/7 "2021-08-12T15:09:06Z")

</div>

> [@ohrenkino](#):
>
> After you have skinned the cat on one of the many routes leading to Rome:  
> This really only works for first word, then the rest.  
> It will not work for [...]

Good foresighting

I myself a long time ago I tried to come up with some sort of system for adding automatically [or at least half-automatically] abbreviations of titles of albums and / or years of the release to the TITLE tags - so that I would know what version is which and I do not see same titles on a list

I though long and hard but all in all came to a conclusion that this was simply impossible as there were too many exception and various special cases

---

<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:** [February 9, 2026, 12:29pm UTC](https://community.mp3tag.de/t/create-abbreviation/53802/8 "2026-02-09T12:29:19Z")

</div>


