init(_:)
Creates a new string from the given substring.
Declaration
init(_ substring: Substring)Parameters
- substring:
A substring to convert to a standalone
Stringinstance.
Creates a new string from the given substring.
init(_ substring: Substring)A substring to convert to a standalone String instance.