开始(.*)结束 dreamware正则表达式-查找特定字符串。显然 ,主要就是这个 (.*),点是任意字符的意思,*是任意若干次匹配前边的字符。问号是一次或0次???
Read more标签: 查找
dreamware正则表达式-查找特定字符串
vb实现查找某一文件夹下所有的文件
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是指定的文件夹路径
Read more
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是指定的文件夹路径
Read more