We know that String.utf16 provides the codeunits or String.unicodeScalars provides the scalars.
If we manipulate the codeunits and unicodeScales by removing some ele
Update for Swift 2.1:
You can create a String from an array of UTF-16 characters with the
String
public init(utf16CodeUnits: UnsafePointer, count: Int)
initializer. Example:
let str = "H€llo