It is currently November 29th, 2021, 6:08 am

Substitute Problem

Help with creating, editing & fixing problems with skins
vanilla
Posts: 2
Joined: April 19th, 2010, 6:48 am

Substitute Problem

Post by vanilla »

Code: Select all

[Variables]
SubstituteLink="\"javascript:pop(\'/sports":""

..

[MeterLink]
SubstituteLink=#SubstituteLink#
It's not work.
I wanna remove to this "\"javascript:pop(\'/sports"
Please Help me~
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: Substitute Problem

Post by Chewtoy »

That doesn't work couse you got three " on the left side. Break it down.

SubstituteLink="\":"","javascript:pop(\'/sports":""

That should work, I think.
I don't think, therefore I'm not.
vanilla
Posts: 2
Joined: April 19th, 2010, 6:48 am

Re: Substitute Problem

Post by vanilla »

To.Chewtoy

not work..:(

I think special character cause.
User avatar
kenz0
Developer
Posts: 263
Joined: July 31st, 2009, 2:23 pm
Location: Tokyo, JPN

Re: Substitute Problem

Post by kenz0 »

Double quotation marks is a character which cannot be used as a literal in Substitute. So it is impossible to actually replace double quotation marks.

Substitute doesn't have the way of the escape for such metacharacter. I think it is a matter.
.
Image