swift字符串和c++的类似,但更加灵活,在字符串字面量里插值
let message = “This a string, we can insert variable \(变量), constant \(常量), and expression \(表达式)”
swift字符串和c++的类似,但更加灵活,在字符串字面量里插值
let message = “This a string, we can insert variable \(变量), constant \(常量), and expression \(表达式)”
本文标题:第三章 字符串和字符
本文链接:https://www.haomeiwen.com/subject/ilyghxtx.html
网友评论