汉口万松园美食:在VB中如何 获得文件的扩展名(急)
来源:百度文库 编辑:高校问答 时间:2024/05/08 04:03:46
函数(文件地址) 返回文件扩展名
如a=f(c:\boot.ini)
返回a=ini
如a=f(c:\boot.ini)
返回a=ini
function f(str)
dim fn
fn=split(str,".")
f=fn(ubound(fn))
end function
高校问答是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:高校问答 时间:2024/05/08 04:03:46
function f(str)
dim fn
fn=split(str,".")
f=fn(ubound(fn))
end function