查找 – 青春部落,流年似水 http://www.youthtribe.com 青春是一场远行,总记不起来时的路。 Thu, 04 Sep 2014 09:14:07 +0000 zh-CN hourly 1 https://wordpress.org/?v=6.1.7 查找 – 青春部落,流年似水 http://www.youthtribe.com/archives/1340 http://www.youthtribe.com/archives/1340#respond Thu, 04 Sep 2014 09:14:07 +0000 http://www.youthtribe.com/?p=1340 开始(.*)结束

dreamware正则表达式-查找特定字符串。显然 ,主要就是这个 (.*),点是任意字符的意思,*是任意若干次匹配前边的字符。问号是一次或0次???

]]>
http://www.youthtribe.com/archives/1340/feed 0
查找 – 青春部落,流年似水 http://www.youthtribe.com/archives/1044 http://www.youthtribe.com/archives/1044#respond Tue, 24 Dec 2013 03:05:25 +0000 http://www.youthtribe.com/?p=1044 Dim DirInfo As DirectoryInfo = New DirectoryInfo(sPath) Dim FInfo() As FileInfo FInfo = DirInfo.GetFiles Dim F(FInfo.Length) As String Dim tmpFInfo As FileInfo Dim i As Integer = 0 For Each tmpFInfo In FInfo F(i) = tmpFInfo.Name MsgBox(F(i)) Next

vb实现查找某一文件夹下所有的文件
sPath是指定的文件夹路径

]]>
http://www.youthtribe.com/archives/1044/feed 0