全角转为半角
ADDRESS=KTRANSLATE(ADDRESS,‘1234567890()‘,‘1234567890()‘);
ADDRESS=KTRANSLATE(ADDRESS,‘ABCDEFGHIJKLMNOPQRSTUVWXYZ‘,‘ABCDEFGHIJKLMNOPQRSTUVWXYZ‘);
另一种方法:TRANWRD(ADDRESS,‘?‘,‘?‘);
时间: 2024-11-03 21:44:33
全角转为半角
ADDRESS=KTRANSLATE(ADDRESS,‘1234567890()‘,‘1234567890()‘);
ADDRESS=KTRANSLATE(ADDRESS,‘ABCDEFGHIJKLMNOPQRSTUVWXYZ‘,‘ABCDEFGHIJKLMNOPQRSTUVWXYZ‘);
另一种方法:TRANWRD(ADDRESS,‘?‘,‘?‘);