全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1168 1
2013-10-07

Hi friends,


The format of a variable is like this:

54361P(P)~U$


I want to delete (P)~U$ in this variable. i.e., I want “54361P” to be kept.


However, when I use code_new=compress(code,”(P)~U$”), the returned is “54361”.


I wonder, how can I get the outcome like “54361P”?


I think, the problem is that the compress function only compress specific characteristics. What I want to delete is the exact combination of characteristics, i.e., “”(P)~U$”.


Would you help me?


Thank you a lot!


二维码

扫码加我 拉你入群

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

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

全部回复
2013-10-7 05:23:57
复制代码
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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