文字列中の指定文字列の位置を取得する FIND関数 pos = find(string, substring); pos = find(string, substring, startpos); ... https://documentation.sas.com/doc/ja/pgmsascdc/v_061/ds2ref/n1v0tzf4xq363mn15mnppqtk2zti.htm