Class TextUtil


  • public class TextUtil
    extends Object
    • Constructor Detail

      • TextUtil

        public TextUtil()
    • Method Detail

      • replaceChar

        public static String replaceChar​(String text,
                                         char newChar,
                                         int index)
        Replace character at the specified index by another.
        Parameters:
        text - Source text
        newChar - Replacement character
        Returns:
        Returns the new text
      • isFirstLetterSeparatorChar

        public static boolean isFirstLetterSeparatorChar​(char c)