---
title: "init(_:)"
framework: swift
role: symbol
role_heading: Initializer
path: "swift/substring/init(_:)-95va8"
---

# init(_:)

Instantiates an instance of the conforming type from a string representation.

## Declaration

```swift
init(_ content: String)
```
