Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コメントで既に回答済み、回答として要約
SASで検索と置換を行うにはいくつかのオプションがあります.tranwrdを使用することをお勧めします。
SAS は改行を '0A'x として解釈します。 キャリッジ リターンの場合は、'0D'x を使用します。
だからあなたのための解決策は次のようになります:
test_txt =tranwrd(text,"the",cat('0A'x,"the"));