IPB

Welcome Guest ( Log In | Register )

> foobar2000 Tech Support Forum Rules

Please read foobar2000 Tech Support Forum Rules before posting and comply with all the points.
Failure to provide all the information pointed out in the above document in your post is considered wasting other people's time and in extreme cases will lead to your topic getting locked without a reply.


See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Stripping ' (apostrophes) symbol from strings?, Doesn't seem to be working
Keikonium
post Aug 30 2008, 23:53
Post #1





Group: Members
Posts: 653
Joined: 1-May 06
From: Canada
Member No.: 30281



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 happy.gif


--------------------
Song List: keikoniumboards.ke.funpic.org/files/songlist.html
Go to the top of the page
+Quote Post
foosion
post Aug 31 2008, 00:06
Post #2





Group: FB2K Moderator (Donating)
Posts: 4336
Joined: 24-February 03
Member No.: 5153



QUOTE (Keikonium @ Aug 31 2008, 00:53) *
$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%,'',).


--------------------
http://foosion.foobar2000.org/ - my components for foobar2000
Go to the top of the page
+Quote Post
Keikonium
post Aug 31 2008, 00:08
Post #3





Group: Members
Posts: 653
Joined: 1-May 06
From: Canada
Member No.: 30281



Ah brain fart @_@.

Thanks foosion smile.gif


--------------------
Song List: keikoniumboards.ke.funpic.org/files/songlist.html
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st April 2014 - 06:41