1.打开文件并读取一行字符
open "test.txt" for input as #1
line input #1, strTemp
2. Dim一Long变量lngLoc定位指定字符的位置,然后使用right截减原字符串得到指定字符后的字符串
lngLoc = inStr(1, strTemp, "=")
strTemp = Right(strTemp, Len(strtemp) - lngLoc)
1.打开文件并读取一行字符
open "test.txt" for input as #1
line input #1, strTemp
2. Dim一Long变量lngLoc定位指定字符的位置,然后使用right截减原字符串得到指定字符后的字符串
lngLoc = inStr(1, strTemp, "=")
strTemp = Right(strTemp, Len(strtemp) - lngLoc)