implicit final class Strings extends AnyVal
Common utility methods to deal with Strings.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Strings
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Strings(str: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
count(c: Char): Int
Returns the number of occurrences of a given char into an String.
-
def
decode(ignoreErrors: Boolean): String
Parse a String with escape sequences.
Parse a String with escape sequences. Ignore encoding errors
-
def
decode: String
Parse a String with escape sequences.
- def encode: String
-
def
equalsIgnoreSpaces(str2: String): Boolean
Compare two Strings ignoring the spaces in each
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
notNull: String
If the String is not null returns the String, else returns "".
-
def
replaceExtension(newExt: String): String
Interpreting the string as a file name replace The extension
- val str: String
-
def
toString(): String
- Definition Classes
- Any