mIRC Homepage
Posted By: westor $remove help - 26/03/11 03:08 PM
Hello,

i have this code but does not remove the
Code:
&
can anyone help

Code:
  elseif (<meta name="title" content=" isin %youtube_temp) {
    var %m = $remove(%youtube_temp,<meta name="title" content=",">, $+ $chr(38) $+ amp $+ $chr(59) $+ quot $+ $chr(59) $+ , $+ $chr(38) $+ amp $+ $chr(59) $+ $chr(35) $+ 39 $+ $chr(59) $+ , $+ $chr(38) $+ amp $+ $chr(59) $+ amp $+ $chr(59) $+ )
  }
Posted By: Riamus2 Re: $remove help - 26/03/11 03:11 PM
Why not just...

Code:
$remove(%var,&amp;)


?
Posted By: Wims Re: $remove help - 26/03/11 03:56 PM
It's not working because you're not asking $remove to remove
Code:
&amp;
but either :
Code:
$+ $chr(38) $+ amp $+ $chr(59) $+ quot $+ $chr(59) $+
which is &amp;quot;
or
$+ $chr(38) $+ amp $+ $chr(59) $+ $chr(35) $+ 39 $+ $chr(59) $+ 
which is &amp;#39;
or 
$+ $chr(38) $+ amp $+ $chr(59) $+ amp $+ $chr(59) $+
which is &amp;amp;
Of course none of this is present inside the variable, next time triple check what you are doing.
Also, you don't need $+ with $null value ($remove(text, $+ text1 $+ ) is just $remove(text,text1))
Posted By: westor Re: $remove help - 26/03/11 04:12 PM
Originally Posted By: Riamus2
Why not just...

Code:
$remove(%var,&amp;)


?


i use it and does not remove it!

http://www.youtube.com/watch?v=fJrD6dioTEQ

=
Code:
Non Stop Greek Pop &amp; Rock by Dj KOSTA Vol2 6a of 7 NON STOP GREEK MUSIC
Posted By: westor Re: $remove help - 26/03/11 04:13 PM
Originally Posted By: Wims
It's not working because you're not asking $remove to remove
Code:
&amp;
but either :
Code:
$+ $chr(38) $+ amp $+ $chr(59) $+ quot $+ $chr(59) $+
which is &amp;quot;
or
$+ $chr(38) $+ amp $+ $chr(59) $+ $chr(35) $+ 39 $+ $chr(59) $+ 
which is &amp;#39;
or 
$+ $chr(38) $+ amp $+ $chr(59) $+ amp $+ $chr(59) $+
which is &amp;amp;
Of course none of this is present inside the variable, next time triple check what you are doing.
Also, you don't need $+ with $null value ($remove(text, $+ text1 $+ ) is just $remove(text,text1))


Do you know how can i fix it?
Posted By: westor Re: $remove help - 26/03/11 04:19 PM
I found the prob and fixed, thanks for help guys
Posted By: Tomao Re: $remove help - 26/03/11 05:05 PM
Originally Posted By: westor
I found the prob and fixed, thanks for help guys
Why not show people how you have fixed the problem so other people can benefit from the similar issue when they search for an answer in the future?
Posted By: Riamus2 Re: $remove help - 26/03/11 07:34 PM
As you have been told, do not post videos.
© mIRC Discussion Forums