setString(_:)
Replaces the characters of the receiver with those in a given string.
Declaration
func setString(_ aString: String)Parameters
- aString:
The string with which to replace the receiver’s content.
aStringmust not benil.
Replaces the characters of the receiver with those in a given string.
func setString(_ aString: String)The string with which to replace the receiver’s content. aString must not be nil.