全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
5380 19
2009-10-30
data find;
text='DELIMIT IT WITH BLANKS.';
Pos4=find(Text,'with','I',5);
Pos3=find(Text,'el','I', -16);
run;
二维码

扫码加我 拉你入群

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

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

全部回复
2009-10-30 08:13:53
Here is the log;

1    data find;
2    text='DELIMIT IT WITH BLANKS.';
3    Pos4=find(Text,'with','I',5);
4    Pos3=find(Text,'el','I', -16);
5    run;

NOTE: The data set WORK.FIND has 1 observations and 3 variables.
NOTE: DATA statement used (Total process time):
      real time           0.63 seconds
      cpu time            0.04 seconds
二维码

扫码加我 拉你入群

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

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

2009-10-30 10:26:02
please upload your data file.

复制代码
二维码

扫码加我 拉你入群

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

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

2009-10-30 11:43:58
Can you post the result?
Pos4:  12
Pos3:  2
??
这是我run出来的结果,不确定是否正确,很困惑那个position, 5 and -16起啥作用了?
二维码

扫码加我 拉你入群

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

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

2009-10-30 11:53:29
你的版本不够高,哈哈
pertain 发表于 2009-10-30 10:26
please upload your data file.
复制代码
二维码

扫码加我 拉你入群

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

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

2009-10-30 12:36:10
oxygenmz 发表于 2009-10-30 11:43
Can you post the result?
Pos4:  12
Pos3:  2
??
这是我run出来的结果,不确定是否正确,很困惑那个position, 5 and -16起啥作用了?
12   data find;
13   text='DELIMIT IT WITH BLANKS.';
14   Pos4=find(Text,'with','I',5);
15   Pos3=find(Text,'el','I', -16);
16   put pos4 pos3;
17   run;

12 2
NOTE: 数据集 WORK.FIND 有 1 个观测和 3 个变量。
NOTE: “DATA 语句”所用时间(总处理时间):
      实际时间         0.00 秒
      CPU 时间         0.00 秒
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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