tex command



Is it possible to strip the "$$" from the output of the tex() command?

I would like to be able to do things like (assume that the command 
"texpr" does what I need)

a:x^2;
print("where $a=",texpr(a),"$ and ...");

to get the string "where $a=x^2$ and ..." ?

Thanks in advance
A. Marquez