First of all, excuse my stupid question, but is it possible to do something like this:
if($var1 == '$'.anychars)
print "the variable had a $ in it";
print "the var didnt have a $ in it";
anychars would be any ASCII character...
Any help will be appreciated, and I can expand if needed.