in if condition I want to check whether the string contains the pattern, but i'm getting following error.
missing operand at _@_
in expression " $extra_url eq _@_*user-new* "
(parsing expression " $extra_url eq *user-n...")
invoked from within
"if { $extra_url eq *user-new* } {
code is as follows :
if { $extra_url eq *user-new* } {
ds_add rp [list notice "File $root/$extra_url: Not found" $startclicks [clock clicks -milliseconds]]
ds_add rp [list transformation [list notfound "$root / $extra_url" $val] $startclicks [clock clicks -milliseconds]]
}
here I'm checking whether the extra_url string contains "user_new". I don't know whether I'm doing it right. please help.