groovy

Implement String.replace(CharSequence, CharSequence), a JDK 1.5 method, for backwards compatibility