final case class SuperString(what: String) extends Product with Serializable
The SuperString class adds functionalities to the String class
- Alphabetic
- By Inheritance
- SuperString
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SuperString(what: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
/(other: String): List[String]
Create a List of Strings using the / method so you can write "foo" / "bar"
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
charSplit(sep: Char): List[String]
Faster than roboSplit...
Faster than roboSplit... this method splits Strings at a given character
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
commafy: String
Add commas before the last 3 characters
Add commas before the last 3 characters
- returns
the string with commas
-
def
encJs: String
Encode the string to be including in JavaScript, replacing '\' or '\\' or non-ASCII characters by their unicode value
Encode the string to be including in JavaScript, replacing '\' or '\\' or non-ASCII characters by their unicode value
- returns
the encoded string inserted into quotes
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
roboSplit(sep: String): List[String]
Split a string according to a separator
Split a string according to a separator
- sep
a regexp to use with the String::split method
- returns
a list of trimmed parts whose length is > 0
-
def
splitAt(sep: String): List[(String, String)]
Split a string in 2 parts at the first place where a separator is found
Split a string in 2 parts at the first place where a separator is found
- returns
a List containing a pair of the 2 trimmed parts
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )
- val what: String