Package 

Class StringKt

    • Method Summary

      Modifier and Type Method Description
      final static String addPrefix(String $self, CharSequence prefix) If this string starts with the given prefix, returns this string.
      final static String addSuffix(String $self, CharSequence suffix) If this string ends with the given suffix, returns this string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • addPrefix

         final static String addPrefix(String $self, CharSequence prefix)

        If this string starts with the given prefix, returns this string. Otherwise, returns a copy of this string after adding the prefix.

      • addSuffix

         final static String addSuffix(String $self, CharSequence suffix)

        If this string ends with the given suffix, returns this string. Otherwise, returns a copy of this string after adding the suffix.