如果你想在同一个字符串中同时使用单引号和双引号,就需要用(\)来避免错误。
比如:He said,"That's some great tasting asparagus!"
双引号和单引号的用法区别
如果你想在同一个字符串中同时使用单引号和双引号,就需要用(\)来避免错误。
比如:He said,"That's some great tasting asparagus!"
双引号和单引号的用法区别
Copyright © 2018 - 2021 www.yd166.com., All Rights Reserved.