Contents

init(utf16Offset:in:)

Creates a new index at the specified UTF-16 code unit offset

Declaration

init<S>(utf16Offset offset: Int, in s: S) where S : StringProtocol

Parameters

  • offset:

    An offset in UTF-16 code units.