Replace String with Text to reduce memory consumption