StringT.opSlice

Returns a slice.

  1. inout(C)[] opSlice()
  2. inout(S) opSlice(T1 x, T2 y)
    struct StringT(C)
    inout(S)
    opSlice
    inout
    (
    T1
    T2
    )
    (
    T1 x
    ,
    T2 y
    )

Parameters

x
Type: T1

Start index. Negative values are subtracted from the end.

y
Type: T2

End index. Negative values are subtracted from the end.

Meta