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.
This method does all the work of parseDate, so it is slow.
This method does all the work of parseDate, so it is slow. Only use if you don't need the date value.
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"
Warning! If the date is invalid, null is returned.
Warning! If the date is invalid, null is returned. Use parseCalendar() and look for a ParseException with a description of any parsing errors if user error reporting is needed.
Warning! If the date is invalid, null is returned.
Warning! If the date is invalid, null is returned. Use parseCalendar() and look for a ParseException with a description of any parsing errors if user error reporting is needed.
Example:
Example:
"foo" |* ( "class=\"" + _ + "\"" ) becomes: class="foo" "" |* ( "class=\"" + _ + "\"" ) becomes: (empty string)
Equivalent to: !s.
Equivalent to: !s.isBlank |* ...