# Hebrew Support

**URL:** https://community.mp3tag.de/t/hebrew-support/3055
**Category:** General Discussion
**Created:** [March 18, 2006, 4:09pm UTC](https://community.mp3tag.de/t/hebrew-support/3055 "2006-03-18T16:09:21Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![gonen](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/bbce88/32.png) [@gonen](https://community.mp3tag.de/u/gonen)
#### Post date: [March 18, 2006, 4:09pm UTC](https://community.mp3tag.de/t/hebrew-support/3055/1 "2006-03-18T16:09:21Z")

</div>

As Hebrew is written from right to left, there a need for a function which reverses a Tag field.

for example:

if the author is ripped as 'abcd efgh' in order to view it correctly in Hebrew we need a function that will reverse EACH word in the Tag field . the result should look as :

'dcba hgfe'

another useful function will be then to swap between 2 words in a Tag field.  
so - if the author is '1234 5678' - the swap function will return iot as: '5678 1234'

to summarize - the ability to reverse a word in a tag field / all words in a tag field + the swap function will give a complete support for Tag that contain Hebrew values.

thanks for a SUPER tool

---

<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 18, 2006, 8:18pm UTC](https://community.mp3tag.de/t/hebrew-support/3055/2 "2006-03-18T20:18:41Z")

</div>

I'll add a $reverse function to the next release. You can use a custom action for switching words (example is for artist field):

_Action type:_ **Replace with regular expressions**  
_Field:_ **ARTIST**  
_Regular expression:_ **(._)\s(._)**  
_Replace matches with:_ **$2 $1**

[] case-sensitive comparison

Best regards,  
~ Florian

---

<div class="post-metadata">

### Author: ![gonen](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/bbce88/32.png) [@gonen](https://community.mp3tag.de/u/gonen)
#### Post date: [March 19, 2006, 4:32am UTC](https://community.mp3tag.de/t/hebrew-support/3055/3 "2006-03-19T04:32:50Z")

</div>

> [@](#):
>
> I'll add a $reverse function to the next release. You can use a custom action for switching words (example is for artist field):
> 
> _Action type:_ **Replace with regular expressions**  
> _Field:_ **ARTIST**  
> _Regular expression:_ **(._)\s(._)**  
> _Replace matches with:_ **$2 $1**
> 
> [] case-sensitive comparison
> 
> Best regards,  
> ~ Florian
> 
> \<{POST\_SNAPBACK}\>

that will be very nice ! Will the $reverse function will be able to reverse a complete Tag field (abcd efgh --\> hgfe dcba) and also to revese a single word within the Tag field (abcd efgh --\> dcba hgfe) ?

many thanks !!

---

<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 19, 2006, 7:33am UTC](https://community.mp3tag.de/t/hebrew-support/3055/4 "2006-03-19T07:33:09Z")

</div>

> [@](#):
>
> Will the $reverse function will be able to reverse a complete Tag field (abcd efgh --\> hgfe dcba) and also to revese a single word within the Tag field (abcd efgh --\> dcba hgfe) ?

You can use the action proposed above to switch particular parts of a tag field. Using $2 $reverse($1)  
at Replace matches with would only reverse the second part from the tag field.

---

<div class="post-metadata">

### Author: ![gonen](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/bbce88/32.png) [@gonen](https://community.mp3tag.de/u/gonen)
#### Post date: [March 19, 2006, 9:13am UTC](https://community.mp3tag.de/t/hebrew-support/3055/5 "2006-03-19T09:13:09Z")

</div>

> [@](#):
>
> You can use the action proposed above to switch particular parts of a tag field. Using $2 $reverse($1)  
> at Replace matches with would only reverse the second part from the tag field.
> 
> \<{POST\_SNAPBACK}\>

agree. ! thanks !

---

<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 26, 2006, 11:30am UTC](https://community.mp3tag.de/t/hebrew-support/3055/6 "2006-03-26T11:30:58Z")

</div>

I've added the $reverse(x) scripting function to the latest [Development Build](http://developer.mp3tag.de) 🙂

Best regards,  
~ Florian
