# How to use Action to put single quote into field

**URL:** <https://community.mp3tag.de/t/how-to-use-action-to-put-single-quote-into-field/57344>\
**Category:** Support\
**Created:** [May 19, 2022, 10:31am UTC](https://community.mp3tag.de/t/how-to-use-action-to-put-single-quote-into-field/57344 "2022-05-19T10:31:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![phossler](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/278dde/32.png) [@phossler](https://community.mp3tag.de/u/phossler)\
**Post date:** [May 19, 2022, 10:31am UTC](https://community.mp3tag.de/t/how-to-use-action-to-put-single-quote-into-field/57344/1 "2022-05-19T10:31:19Z")

</div>

I was organizing, and wanted to have Albums tagged with literal text and %year%  
Usually works, unless the literal text includes a single quote

Action = Format Value  
Field = Album and  
Format String = Hits of the '70s - %year%

But the single quote seems to cause nothing to be changed

If I take it out, I get Album = Hits of the 70s - 1970, but I'd like the single quote in the Album if possible

How should I format it? Thanks

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [May 19, 2022, 10:36am UTC](https://community.mp3tag.de/t/how-to-use-action-to-put-single-quote-into-field/57344/2 "2022-05-19T10:36:03Z")

</div>

> [@phossler](#):
>
> Format String = Hits of the '70s - %year%

Format String:  
`Hits of the ''70s - %year%`

You can try to double the single quote.

~~If you can use the content of the tag ALBUM you could write `%ALBUM%` instead of the text "Hits of the '70s". The formatstring would look like  
 `%album% - %year%`~~

---

<div class="post-metadata">

**Author:** ![phossler](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/278dde/32.png) [@phossler](https://community.mp3tag.de/u/phossler)\
**Post date:** [May 21, 2022, 8:04pm UTC](https://community.mp3tag.de/t/how-to-use-action-to-put-single-quote-into-field/57344/3 "2022-05-21T20:04:26Z")

</div>

Doubling the single quote works great (I really did look in the Help file)

Thanks

---

<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:** [June 20, 2022, 8:05pm UTC](https://community.mp3tag.de/t/how-to-use-action-to-put-single-quote-into-field/57344/4 "2022-06-20T20:05:13Z")

</div>

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