문제

I have a column called rea. Inside, there are data like below

oc'ean

I'm using the function tranwrd to remove the '

tranwrd(rea,'''','');

Can I use something else than the '''' to represent the '?

도움이 되었습니까?

해결책

You can quote single-quotes within double-quotes, and vice versa.

tranwrd(rea,"'",'');

But if you just wish to remove the quotes, rather than replace them with a non-space character, use the compress function

compress(rea,"'");
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top