Skip Navigation
Global Nav Open Menu
Global Nav Close Menu
Apple Developer
Search Developer
Cancel
Apple Developer
Discover
Design
Develop
Distribute
Support
Account
Documentation
Open Menu
Close Menu
Swift
String
⋯
Swift
String
Substring
init()
Language:
Swift
API Changes:
None
Initializer
init()
Creates an empty substring.
SDK
Xcode 9.0+
Framework
Swift Standard Library
On This Page
Declaration
Relationships
Declaration
init
()
Relationships
From Protocol
Range
Replaceable
Collection