全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
1116 4
2013-12-02
index(`"`using'"',".") 和 index("`using'",".") 区别在哪里?
谢谢!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2013-12-2 07:56:03
如果字符串中含有"这样的字符,需要`""'来定义。

字符串的标准形式是`""',当不引起误会时,可简作""。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-12-2 07:57:47
sungmoo 发表于 2013-12-2 07:56
如果字符串中含有"这样的字符,需要`""'来定义。

字符串的标准形式是`""',当不引起误会时,可简作""。
是否有相应的帮助文件?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-12-2 08:00:26
help strings

补:    In addition to double quotes for enclosing strings, Stata also allows compound double quotes:  `" and "'.  You can type "string" or you can type `"string"', although users seldom type `"string"'.  Compound double quotes are of special interest to programmers because they nest and provide a way for a quoted string to itself contain double quotes (either simple or compound).  

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-12-9 11:26:29
help quotes
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群