取字串中字串

楼主: tree581 (talltree)   2018-07-09 10:30:51
各位大大好
我有一个取db的
While read{
string a=gerstring(reader,"aa")
}
a的值取出来是
dbsource............... time=100
我要怎么在取出time=100,
使我的新变量int timeout=100(上面那个)
请教谢谢
作者: O2000 (吵死了 闭嘴啦)   2018-07-09 11:24:00
是“再”不是“在” Regex(@"time=\d+")

Links booklink

Contact Us: admin [ a t ] ucptt.com