Class TextUtils

java.lang.Object
org.luwrain.util.TextUtils

public final class TextUtils extends Object
  • Constructor Details

    • TextUtils

      public TextUtils()
  • Method Details

    • splitLinesAnySeparator

      public static String[] splitLinesAnySeparator(String text)
    • notLonger

      public static String notLonger(String str, int maxLength)
    • getLastWord

      public static String getLastWord(String text, int upToPos)
    • sameCharString

      public static String sameCharString(char c, int count)
    • removeIsoControlChars

      public static String removeIsoControlChars(String value)
    • replaceIsoControlChars

      public static String replaceIsoControlChars(String value, char replaceWith)
    • replaceIsoControlChars

      public static String replaceIsoControlChars(String value)
    • wordWrap

      public static String[] wordWrap(String line, int width)