This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Μπορείς να ξυπνήσεις έναν κοιμισμένο, αλλά όχι κάποιον που κάνει ότι κοιμάται. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Μπορείς να ξυπνήσεις έναν κοιμισμένο, αλλά όχι κάποιον που κάνει ότι κοιμάται. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Below are two test functions and a collection of Unicode characters with various characteristics, | |
/// to test the Swift 5.0 String infrastructure and compare results with NSString. | |
import Foundation | |
func stringPrint(_ string: String) { | |
print("String `\(string)` is \(string.data(using: .utf8)?.count ?? 0) byte(s) long and contains \(string.count) character(s).") | |
} | |
func nsStringPrint(_ string: NSString) { |