its easy enuff
if you rewrite the query string in it entirety. It appears that substring manipulations are out of bounds, although I havn't looked at the mod_rewrite source code yet.
Any opinions expressed by me are mine alone, posted from my home computer, on my own time as a free American and do not reflect the opinions of any person or company that I have had professional relations with in the past 55 years. meep