Initializer

init(_:)

Creates a Substring having the given content.

Declaration

init(_ content: Substring.UnicodeScalarView)

Discussion

Complexity: O(1)