Replace $S with J2ME.newString.