扫码下载编程狮APP
W3Cschool
恭喜您成为首批注册用户
获得88经验值奖励
~s印记用于生成字符串,作用于双引号相同.当字符串包含双引号和单引号时,~s印记就很有用了:
~s
iex> ~s(this is a string with "double" quotes, not 'single' ones) "this is a string with \"double\" quotes, not 'single' ones"
更多建议:
扫描二维码
下载编程狮App
编程狮公众号
联系方式:
更多建议: