会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FL0528
博客园
::
首页
::
新随笔
:: :: ::
管理
2021年8月6日
C#如何求出两个字符串最大的公共部分
摘要: /// <summary>获取两个字符串的最大公共部分</summary> /// <param name="str1">字符串1</param> /// <param name="str2">字符串2</param> /// <returns>两个字符串的最大公共部分集合,可能有多个</retur
阅读全文
posted @ 2021-08-06 13:51 FL0528
阅读(191)
评论(0)
推荐(0)
2021年8月4日
js弹出一个子窗口
摘要: var newwin; if (newwin != undefined) { newwin.close(); } newwin = window.open( url, "onlywin", "toolbar=no, location=no, directories=no, status=no, me
阅读全文
posted @ 2021-08-04 14:36 FL0528
阅读(311)
评论(0)
推荐(0)
2020年5月14日
验证日期格式正则表达式
摘要: function myFunction(){ //yyyy-mm-dd hh:mm:ss var reDateTime =/^(?:19|20)[0-9][0-9]-(?:(?:0[1-9])|(?:1[0-2]))-(?:(?:[0-2] [1-9])|(?:[1-3][0-1])) (?:(?:
阅读全文
posted @ 2020-05-14 18:44 FL0528
阅读(470)
评论(0)
推荐(0)
2019年11月7日
winfrom 获取焦点控件
摘要: [DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.Winapi)] internal static extern IntPtr GetFocus(); ///获取 当前拥有焦点
阅读全文
posted @ 2019-11-07 16:56 FL0528
阅读(436)
评论(0)
推荐(0)