Used to generate a display name from a camelcase name.
Used to generate a display name from a camelcase name.
Example: "helloThere" to "Hello There"
Used to a case-insensitive identifier from a camelcase identifier, like for example a SQL database field.
Used to a case-insensitive identifier from a camelcase identifier, like for example a SQL database field.
Example: "helloThere" to "hello_there"
Named this way to be similar to Lift's "encJs" method on Strings.
Does this string represent a valid email address?
Similar to Groovy's ?: (Elvis) operator.
Similar to Groovy's ?: (Elvis) operator.
Example: user.name or "Unknown"
Generates a plural form of a singular word based if the passed in number is not 1.
Generates a plural form of a singular word based if the passed in number is not 1. i.e. 0 cats, 1 cat, 2 cats, ...
Generates a plural form of a singular word.
Generates a possessive form of a singular word.
Scala's StringOps defines a toBoolean(), but it is very minimal .
Scala's StringOps defines a toBoolean(), but it is very minimal ... it only accepts "true" and "false"
Example:
Example:
"foo" |* ( "class=\"" + _ + "\"" ) becomes: class="foo" "" |* ( "class=\"" + _ + "\"" ) becomes: (empty string)
Equivalent to: !s.
Equivalent to: !s.isBlank |* ...