# Suggestion - make UI labelling distinguish the two kinds of Format String

**URL:** https://community.mp3tag.de/t/suggestion-make-ui-labelling-distinguish-the-two-kinds-of-format-string/10738
**Category:** General Discussion
**Created:** [August 29, 2010, 3:39pm UTC](https://community.mp3tag.de/t/suggestion-make-ui-labelling-distinguish-the-two-kinds-of-format-string/10738 "2010-08-29T15:39:19Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [August 29, 2010, 3:39pm UTC](https://community.mp3tag.de/t/suggestion-make-ui-labelling-distinguish-the-two-kinds-of-format-string/10738/1 "2010-08-29T15:39:19Z")

</div>

See [Importing filepath-propertyvalue pairs](https://community.mp3tag.de/t/10730/7) .

---

<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: [August 29, 2010, 4:24pm UTC](https://community.mp3tag.de/t/suggestion-make-ui-labelling-distinguish-the-two-kinds-of-format-string/10738/2 "2010-08-29T16:24:28Z")

</div>

IMO, Mp3tag's syntax tends to be a little too loose and could use some harder rules and more consistency.

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [August 29, 2010, 5:05pm UTC](https://community.mp3tag.de/t/suggestion-make-ui-labelling-distinguish-the-two-kinds-of-format-string/10738/3 "2010-08-29T17:05:08Z")

</div>

Instead of Format string (not scriptable) I prefer to drop the term completely for these dialogs and rather use one of these:

guessing pattern  
format pattern  
mask  
pattern

---

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [August 29, 2010, 9:42pm UTC](https://community.mp3tag.de/t/suggestion-make-ui-labelling-distinguish-the-two-kinds-of-format-string/10738/4 "2010-08-29T21:42:46Z")

</div>

Dano, please indicate which of those terms you propose for each of:

Convert Text file - Tag (format string not scriptable)  
Convert Filename - Tag (format string not scriptable)  
Convert Tag - Filename (format string scriptable)  
Action Format value (format string scriptable)

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [August 30, 2010, 7:54am UTC](https://community.mp3tag.de/t/suggestion-make-ui-labelling-distinguish-the-two-kinds-of-format-string/10738/5 "2010-08-30T07:54:24Z")

</div>

Convert Text file - Tag (guessing pattern)  
Convert Filename - Tag (guessing pattern)

Convert Tag - Filename (format string)  
Action Format value (format string)

---

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [August 30, 2010, 8:50am UTC](https://community.mp3tag.de/t/suggestion-make-ui-labelling-distinguish-the-two-kinds-of-format-string/10738/6 "2010-08-30T08:50:55Z")

</div>

OK, I see. Looks good to me. Though I woould prefer **matching pattern** to **guessing pattern**.

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [August 30, 2010, 2:16pm UTC](https://community.mp3tag.de/t/suggestion-make-ui-labelling-distinguish-the-two-kinds-of-format-string/10738/7 "2010-08-30T14:16:39Z")

</div>

"Pattern Matching" (german: Musterabgleich) is a well known idiom, that describes very good what is going on e. g. when doing "Convert Filename - Tag".  
At first there is a pattern do describe, which _must_ match, to give at last the fitting result.

The idiom "Format String" (german: "Zeichenkette formatieren") is derivated from the C programming language, which provides a function "printf", and means:  
"replace each format item in a specified string with the text equivalent of a corresponding object's value"  
(german: "ersetze jedes Formatelement in einer angegebenen Zeichenkette durch den Text, der dem Wert eines entsprechenden Objekts entspricht.")

A format item can be any tag-field placeholder like "%TITLE%" or a Mp3tag function expression like "$char(7)".  
A format item can also be used alone for itself or in combination with other format items, without any string character around or between the format items.

Well, it seems that we are on a good way to close the traps in the "Convert" area of Mp3tag!

DD.20100830.1815.CEST

---

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [August 30, 2010, 7:36pm UTC](https://community.mp3tag.de/t/suggestion-make-ui-labelling-distinguish-the-two-kinds-of-format-string/10738/8 "2010-08-30T19:36:59Z")

</div>

> [@DetlevD](#):
>
> Well, it seems that we are on a good way to close the traps in the "Convert" area of Mp3tag!

I hope so, but also that this goes across the whole app.
