作者tree581 (talltree)
看板C_Sharp
标题取字串中字串
时间Mon Jul 9 10:30:51 2018
各位大大好
我有一个取db的
While read{
string a=gerstring(reader,"aa")
}
a的值取出来是
dbsource............... time=100
我要怎麽在取出time=100,
使我的新变数int timeout=100(上面那个)
请教谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 223.104.212.251
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/C_Sharp/M.1531103454.A.0B3.html
1F:→ O2000: 是「再」不是「在」 Regex(@"time=\d+")07/09 11:24
※ 编辑: tree581 (223.104.212.251), 07/09/2018 13:33:09