以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 求教如何将输入的1’22’数据转换为秒 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=58926) |
-- 作者:yangjing -- 发布时间:2014/10/26 18:04:00 -- 求教如何将输入的1’22’数据转换为秒 求教如何将输入的1’22’数据转换为秒 |
-- 作者:有点甜 -- 发布时间:2014/10/26 19:06:00 -- Dim str As String = "1\'37""" Dim cs() As Char = {"\'", """"} Dim ary() As String = str.Split(cs) msgbox(ary(0) * 60 + ary(1)) |