Packages

implicit final class Strings extends AnyVal

Common utility methods to deal with Strings.

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Strings
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Strings(str: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def count(c: Char): Int

    Returns the number of occurrences of a given char into an String.

  6. def decode(ignoreErrors: Boolean): String

    Parse a String with escape sequences.

    Parse a String with escape sequences. Ignore encoding errors

  7. def decode: String

    Parse a String with escape sequences.

  8. def encode: String
  9. def equalsIgnoreSpaces(str2: String): Boolean

    Compare two Strings ignoring the spaces in each

  10. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def isNullOrEmpty: Boolean

    Check if the String is null or empty

  13. def isOnlyAscii: Boolean

    Returns true if all characters are ascii

  14. def nonNullNorEmpty: Boolean

    Check if the String is not null and non empty

  15. def notNull: String

    If the String is not null returns the String, else returns "".

  16. def quoted: String

    Add quotes to the string.

    Add quotes to the string. If the string already has quotes, returns the same string

  17. def replaceExtension(newExt: String): String

    Interpreting the string as a file name replace The extension

  18. val str: String
  19. def toPunnycode: String
  20. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped