摘要: // Convert to Roman Numerals// copyright 25th July 2005, by Stephen Chapman http://javascript.about.com// permission to use this Javascript on your web page is granted// provided that all of the code (including this copyright notice) is// used exactly as shownfunction roman(n,s) { var r = '' 阅读全文
posted @ 2012-02-07 09:46 Let's Code 阅读(592) 评论(0) 推荐(0) 编辑
摘要: 下面的代码是常用的截取某个长度字符串的代码,平时都用得很好,可是突然有一天发现在服务器上的那个部分不起作用了,但是本地测试又是好的,百思不得其解View Code 1 #region 截取字符 2 /// <summary> 3 /// 截取字符 4 /// </summary> 5 /// <param name="s">原字符</param> 6 /// <param name="len">要截取的长度</param> 7 /// <returns></retu 阅读全文
posted @ 2011-09-15 14:45 Let's Code 阅读(182) 评论(0) 推荐(0) 编辑