DOMString.opSlice

Returns a slice of the string.

class DOMString
@safe nothrow pure const
opSlice
(
size_t from
,
size_t to
)

Parameters

from size_t

The beginning point.

to size_t

The ending point + 1.

Return Value

Type: DOMString

The content of the slice as a DOMString.

Meta