RosettaCodeData/Task/String-length/Swift/string-length-8.swift

2 lines
60 B
Swift

let numberOfBytesUTF8 = count("møøse".utf8) // 7