Added: searching within text, trimming, and replacing text