Contents

init(_:)

Creates a String having the given content.

Declaration

init?(_ codeUnits: Substring.UTF16View)

Discussion

If codeUnits is an ill-formed code unit sequence, the result is nil.

See Also

Working with String Views