把GDP后面的(亿元)去掉,可以实现吗?
程序代码:
lcTxt = FILETOSTR("王咸美\md.Txt") ALINES(laTxt, lcTxt) lcStr = SPACE(0) ALINES(laStr, laTxt[1], SPACE(1)) FOR ln = 1 TO ALEN(laStr, 1) lcStr = lcStr + IIF(EMPTY(lcStr), SPACE(0), ",") + laStr[ln] + IIF(ln = 1, " N(4)", " C(10)") ENDFOR CREATE CURSOR tt (&lcStr) BROWSE