trait StringOps extends AnyRef

This object provides utility methods to extract elements from Strings.

Version

1.0

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringOps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. def countAsString(n: Int): String

    Turns a count into a friendly English description if n<=4.

    Turns a count into a friendly English description if n<=4. Otherwise, a scary math representation.

  7. def countElementsAsString(n: Int, element: String): String

    Returns a string meaning "n elements".

    Returns a string meaning "n elements". Don't try an element such as "index" with irregular plural.

  8. def decompose(str: String, sep: Char): List[String]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def longestCommonPrefix(xs: List[String]): String
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def oempty(xs: String*): collection.Seq[String]
  20. def ojoin(xs: String*): String
  21. def splitAt(str: String, idx: Int, doDropIndex: Boolean = false): Option[(String, String)]
  22. def splitWhere(str: String, f: (Char) ⇒ Boolean, doDropIndex: Boolean = false): Option[(String, String)]
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def trimAllTrailingSpace(s: String): String

    Breaks the string into lines and strips each line before reassembling.

  26. def trimTrailingSpace(s: String): String

    Like String#trim, but trailing whitespace only.

  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  30. def words(str: String): List[String]

Inherited from AnyRef

Inherited from Any

Ungrouped