Contents

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. aString must not be nil.

See Also

Modifying a String