Question: What's an easy way of swapping two variables?

I have an expression 

f:= x1 * x2 * x3^4;

I would like to do something like subs( (x1,x3) = (x3,x1), f) and get 

x1^4 * x2 * x3

back.

 

However this does not work. Is there some _lightweight_ way of doing it?

Please Wait...