lang: move some text process methods from Class Strings to Texts