Class StringUtilitiesKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static String escapePath(String $self) Properly escape certain characters, so it can be safely used inside text-files, variables and scripts.
      final static String regexReplace(String $self, Regex regex, String replaceWith) Replace all matches for the given regex with replaceWith and return the resulting string.
      final static String replaceCharacter(String $self, Integer index, Character character) Replace the character at the given index with the given new character.
      final static String insertCharacter(String $self, Integer index, Character character) Insert the given character at the given index.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait