optimization of built-in string functions

e.g. String to String$