会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
水滴石穿
正则表达式取某目录下的文件名
//用正则表达式求末尾文件
private string GetFileName(string FullName)
{
Regex re=new Regex(@"""[^""]*$");
Match ma=re.Match(FullName);
if( ma.Success)
return ma.Value.Substring(1);
else
return "";
}
posted on
2008-05-23 16:12
步走高飞
阅读(
1303
) 评论(
0
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部
导航
新随笔
管理
公告