Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Stripping ' (apostrophes) symbol from strings? (Read 2261 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Stripping ' (apostrophes) symbol from strings?

I am trying to strip all ' (apostrophes) from a string with the titleformatting code:

$replace(%album%,'$char(39)','')

But it doesn't seem to be working. Does anyone know how to strip this from a string? Also, is it possible to strip two or more characters from a string at the same time?

Thanks
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

 

Stripping ' (apostrophes) symbol from strings?

Reply #1
$replace(%album%,'$char(39)','')
That code replaces $char(39) with a single apostrophe. I expect that not many of your album tags contain the string $char(39).

To get the desired result, you should use $replace(%album%,'',).

Stripping ' (apostrophes) symbol from strings?

Reply #2
Ah brain fart @_@.

Thanks foosion
Song List: keikoniumboards.ke.funpic.org/files/songlist.html