implicit final class StringExtensions extends AnyVal
- Alphabetic
- By Inheritance
- StringExtensions
- AnyVal
- Any
- by AnyExtensions
- by AnyExtensions
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new StringExtensions(s: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from StringExtensions to any2stringadd[StringExtensions] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (StringExtensions, B)
- Implicit
- This member is added by an implicit conversion from StringExtensions to ArrowAssoc[StringExtensions] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
commonLinePrefix: String
find the largest common prefix among all lines of the given string
-
def
containsTyped(s2: String): Boolean
type-safe substring check
-
def
ensuring(cond: (StringExtensions) ⇒ Boolean, msg: ⇒ Any): StringExtensions
- Implicit
- This member is added by an implicit conversion from StringExtensions to Ensuring[StringExtensions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (StringExtensions) ⇒ Boolean): StringExtensions
- Implicit
- This member is added by an implicit conversion from StringExtensions to Ensuring[StringExtensions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): StringExtensions
- Implicit
- This member is added by an implicit conversion from StringExtensions to Ensuring[StringExtensions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): StringExtensions
- Implicit
- This member is added by an implicit conversion from StringExtensions to Ensuring[StringExtensions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from StringExtensions to StringFormat[StringExtensions] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
indent: String
indents every line by two spaces
-
def
indent(width: Int): String
indents every line by twice the given number of spaces
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
prefixLines(prefix: String): String
prefixes every line with the given prefix
- val s: String
-
def
stripIndent: String
finds a common whitespace prefix of all lines that contain non-whitespace characters and removes it's number of characters from all lines.
finds a common whitespace prefix of all lines that contain non-whitespace characters and removes it's number of characters from all lines. (Also converts line endings to system default line endings).
-
def
toString(): String
- Definition Classes
- Any
-
def
trimLeft: String
trim whitespace from the left of the string
-
def
trimLinesLeft: String
trim whitespace from the left of each line of the string
-
def
trimLinesRight: String
trim whitespace from the right of each line of the string
-
def
trimRight: String
trim whitespace from the right of the string
-
def
→[B](y: B): (StringExtensions, B)
- Implicit
- This member is added by an implicit conversion from StringExtensions to ArrowAssoc[StringExtensions] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Shadowed Implicit Value Members
-
def
in(set: Set[StringExtensions]): Boolean
Tests whether the given set contains this value as an element
Tests whether the given set contains this value as an element
- Implicit
- This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(stringExtensions: AnyExtensions[StringExtensions]).in(set)
- Definition Classes
- AnyExtensions
-
def
in(seq: Seq[StringExtensions]): Boolean
Tests whether the given sequence contains this value as an element
Tests whether the given sequence contains this value as an element
- Implicit
- This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(stringExtensions: AnyExtensions[StringExtensions]).in(seq)
- Definition Classes
- AnyExtensions
-
def
in(set: Set[StringExtensions]): Boolean
Tests whether the given set contains this value as an element
Tests whether the given set contains this value as an element
- Implicit
- This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(stringExtensions: AnyExtensions[StringExtensions]).in(set)
- Definition Classes
- AnyExtensions
-
def
in(seq: Seq[StringExtensions]): Boolean
Tests whether the given sequence contains this value as an element
Tests whether the given sequence contains this value as an element
- Implicit
- This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(stringExtensions: AnyExtensions[StringExtensions]).in(seq)
- Definition Classes
- AnyExtensions
-
def
notIn(set: Set[StringExtensions]): Boolean
Tests whether the given set does NOT contains this value as an element
Tests whether the given set does NOT contains this value as an element
- Implicit
- This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(stringExtensions: AnyExtensions[StringExtensions]).notIn(set)
- Definition Classes
- AnyExtensions
-
def
notIn(seq: Seq[StringExtensions]): Boolean
Tests whether the given sequence does NOT contains this value as an element
Tests whether the given sequence does NOT contains this value as an element
- Implicit
- This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(stringExtensions: AnyExtensions[StringExtensions]).notIn(seq)
- Definition Classes
- AnyExtensions
-
def
notIn(set: Set[StringExtensions]): Boolean
Tests whether the given set does NOT contains this value as an element
Tests whether the given set does NOT contains this value as an element
- Implicit
- This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(stringExtensions: AnyExtensions[StringExtensions]).notIn(set)
- Definition Classes
- AnyExtensions
-
def
notIn(seq: Seq[StringExtensions]): Boolean
Tests whether the given sequence does NOT contains this value as an element
Tests whether the given sequence does NOT contains this value as an element
- Implicit
- This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(stringExtensions: AnyExtensions[StringExtensions]).notIn(seq)
- Definition Classes
- AnyExtensions
-
val
value: StringExtensions
- Implicit
- This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(stringExtensions: AnyExtensions[StringExtensions]).value
- Definition Classes
- AnyExtensions
-
val
value: StringExtensions
- Implicit
- This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(stringExtensions: AnyExtensions[StringExtensions]).value
- Definition Classes
- AnyExtensions