String.replaceAll() returns a modified copy of the String rather than doing an in place transformation so you need to do...

s = s.replaceAll( "%27%27", "'");

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration