This is just a set of utility functions for performing operations on String objects. In fact, the entire class has no instance fields or methods. Everything is static. Consider it as a container for grouping functions with text semantics. Many of them could be methods of the inherited String class or the CharSequence class. For example, you can:
TextUtils.indexOf(string, char)
doing the same thing
string.indexOf(char);
Many of them do what you can already do using string public methods. Many others add extra features. This class serves at the method level for the same purpose as the package at the class level.
source share