Scalactic is brought to you by:

trait StringNormalizations extends AnyRef

Provides methods that produce Uniformity[String] instances for various ways to normalize strings for equality comparisons.

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

Value Members

  1. val lowerCased: Uniformity[String]

    Produces a Uniformity[String] whose normalized method returns the result of invoking toLowerCase on the passed string.

    Produces a Uniformity[String] whose normalized method returns the result of invoking toLowerCase on the passed string.

    returns

    a Uniformity[String] that normalizes by transforming strings to lower case.

  2. val trimmed: Uniformity[String]

    Produces a Uniformity[String] whose normalized method returns the result of invoking trim on the passed string.

    Produces a Uniformity[String] whose normalized method returns the result of invoking trim on the passed string.

    returns

    a Uniformity[String] that normalizes strings by trimming them.

  3. val upperCased: Uniformity[String]

    Produces a Uniformity[String] whose normalized method returns the result of invoking toUpperCase on the passed string.

    Produces a Uniformity[String] whose normalized method returns the result of invoking toUpperCase on the passed string.

    returns

    a Uniformity[String] that normalizes by transforming strings to upper case.