小编con*_*fac的帖子

SAS:删除字符后的所有文本

我有一列数据,让我们说它看起来像这样:

This is text: part 2
This is text
This is also text: part 3
Run Code Online (Sandbox Code Playgroud)

我需要在以下内容之后删除所有内容:以便所有三行数据都将读取:

This is text
This is text
This is also text
Run Code Online (Sandbox Code Playgroud)

有谁知道如何在SAS中这样做?我通常删除标点,等等...但还没有必要删除字符后的所有内容.

任何指导将不胜感激 - 谢谢.

text analytics sas punctuation

1
推荐指数
1
解决办法
7056
查看次数

标签 统计

analytics ×1

punctuation ×1

sas ×1

text ×1