Contents

append(contentsOf:)

Appends the characters in the given sequence to the string.

Declaration

mutating func append<S>(contentsOf newElements: S) where S : Sequence, S.Element == Character

Parameters

  • newElements:

    A sequence of characters.

See Also

Appending Strings and Characters