Redmine#3454: document simple text manipulation functions