Package 

Class StringsKt

    • Method Summary

      Modifier and Type Method Description
      final String checkMaxLengthAllowed(String text) Checks that the text has no more than 50000 chars.
      final String namespace(String $self) Extract a namespace from a qualified name (ie namespace:name).
      final String name(String $self) Extract a name from a qualified name (ie namespace:name).
      final Pair<String, String> namespaceAndName(String $self) Extract namespace and name from a qualified name (ie namespace:name).
      final String withNamespace(String $self, String namespace) Add the specified namespace to a name if the name does not contains yet a namespace, and return the result.
      final String changeNamespace(String $self, String newNamespace) Replace the current namespace with the new namespace.
      final String withoutNamespace(String $self, String namespace) Remove the specified namespace from a qualified name if this qualified name contains the namespace, and return the result.
      final String concat(String s1, String s2) Concat two strings and manage intermediate punctuation.
      • Methods inherited from class java.lang.Object

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