---
title: "init(string:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/nsstring/init(string:)-7xgq7"
---

# init(string:)

Returns an NSString object initialized by copying the characters from another given string.

## Declaration

```swift
@nonobjc convenience init(string aString: NSString)
```

## Return Value

Return Value An NSString object initialized by copying the characters from aString. The returned object may be different from the original receiver.
