Removed obsolete string.replace