implicit class RichString extends govukfrontend.views.html.components.implicits.RichString
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RichString
- RichString
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new RichString(s: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
indent(n: Int, indentFirstLine: Boolean = false): String
Indent a (multiline) string
nspaces.Indent a (multiline) string
nspaces.- n
Number of spaces to indent the string. It can be a negative value, in which case it attempts to unindent n spaces, as much as possible until it hits the margin.
- Definition Classes
- RichString
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
ltrim: String
- Definition Classes
- RichString
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
nunjucksCapitalize: String
Implements https://mozilla.github.io/nunjucks/templating.html#capitalize.
Implements https://mozilla.github.io/nunjucks/templating.html#capitalize. Unlike Scala's scala.collection.immutable.StringLike#capitalize() Nunjucks' capitalize converts the first letter to uppercase and the rest to lowercase.
- Definition Classes
- RichString
-
def
rtrim: String
- Definition Classes
- RichString
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toOption: Option[String]
- Definition Classes
- RichString
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()