Hello there,

I was working on a script that needs to respons on this:
!Litle test for this is++ #nope it doesn't works...

But when I use this:
Quote:

$right($gettok($1-,1,35),3)

I get this back: ++

But when I try to recognize it using the if:
Quote:

if (($left($1,1) == !) && ($right($gettok($1-,1,35),3) == ++)) {
echo Yes it works
}


Then it doesn't response!

I know there is something after the ++ because I need to do 3 letters from the right to get ++
but even if I put $chr(32) in the if after ++ it doesn't work..

So can someone explain me what I do frong?

I used Version 6.2 and 6.21 to test.