RichString
uk.gov.hmrc.hmrcfrontend.views.Implicits.RichString
implicit class RichString(s: String) extends RichString
Attributes
- Graph
-
- Supertypes
Members list
Value members
Inherited methods
Indent a (multiline) string n spaces.
Indent a (multiline) string n spaces.
Value parameters
- 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.
Attributes
- Inherited from:
- RichString
Attributes
- Inherited from:
- RichString
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.
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.
Attributes
- Inherited from:
- RichString
Attributes
- Inherited from:
- RichString
Attributes
- Inherited from:
- RichString
Attributes
- Inherited from:
- RichString
Attributes
- Inherited from:
- RichString
Attributes
- Inherited from:
- RichString
Attributes
- Inherited from:
- RichString
Attributes
- Inherited from:
- RichString
Attributes
- Inherited from:
- RichString
Attributes
- Inherited from:
- RichString
Attributes
- Inherited from:
- RichString
In this article