kotlin基础 字符串模板

${变量名}

var tmp="字符串模板”
print("今天学习${tmp}这个知识点")
原文地址:https://www.cnblogs.com/superxuezhazha/p/12028184.html