String

@native @JSType trait String extends StObject
Companion
object
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def trimEnd(): String

Returns a copy with trailing whitespace removed.

Returns a copy with trailing whitespace removed.

def trimLeft(): String

Removes whitespace from the left end of a string.

Removes whitespace from the left end of a string.

def trimRight(): String

Removes whitespace from the right end of a string.

Removes whitespace from the right end of a string.

def trimStart(): String

Returns a copy with leading whitespace removed.

Returns a copy with leading whitespace removed.

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object