有孩子婆媳矛盾更严重:在VB中如何 获得文件的扩展名(急)
来源:百度文库 编辑:中科新闻网 时间:2024/05/14 08:49:32
函数(文件地址) 返回文件扩展名
如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/14 08:49:32
function f(str)
dim fn
fn=split(str,".")
f=fn(ubound(fn))
end function