JS::String
Inherits JS::ExpandMethods / JS::Reference / JS::ExpandMethods / Reference / Object
Constructors
from_char_code(*nums : UInt16) : self
from_code_point(*nums : UInt32) : self
new(str : ::String) : self
Instance methods
!=(other : self) : Bool
+(other : self) : Bool
<(other : self) : Bool
<=(other : self) : Bool
==(other : self) : Bool
Returns true if this reference is the same as other. Invokes same?.
>(other : self) : Bool
>=(other : self) : Bool
dup
Returns a shallow copy of this object.
This allocates a new object and copies the contents of
self into it.
length
normalize
js_method localeCompare(str : String, locale : String, options : ???), Int32 js_method match(regexp : Regex) : ??? js_method matchAll(regexp : Regex) : ???
to_crystal