怎樣從字串裏提取想要的數字串
ExcelHome 問題
cells(1,1)="C:\Documents and Settings\Matthew\My Documents\測評周報20060508-20060514\滿意度統計5.8-5.14"
選出 "滿意度統計5.8-5.14" 的 5.8-5.14
使用 vbscript.regexp 的例子
怎樣從字串裏提取想要的數字串
ExcelHome 問題
cells(1,1)="C:\Documents and Settings\Matthew\My Documents\測評周報20060508-20060514\滿意度統計5.8-5.14"
選出 "滿意度統計5.8-5.14" 的 5.8-5.14
使用 vbscript.regexp 的例子
David : OK. 目前問題以 RegEx.Pattern = "[^A-Z]+" 解掉了, 非常感謝^^但假如是 str = ABC123.1DEF而我想拆成 ABC 與 123.1DEF, 這要如何處理呢 ? 謝謝 (這是上封欲用InStr 的狀況)
TempStr = Cells(6, 4) End Sub
|
|