StringNormalizations

org.scalactic.StringNormalizations
See theStringNormalizations companion object

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

Attributes

Companion
object
Source
StringNormalizations.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object StringNormalizations.type

Members list

Value members

Concrete fields

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.

Attributes

Returns

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

Source
StringNormalizations.scala
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.

Attributes

Returns

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

Source
StringNormalizations.scala
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.

Attributes

Returns

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

Source
StringNormalizations.scala