码迷,mamicode.com
首页 >  
搜索关键字:replace    ( 7027个结果)
python日记,常用字符串用法
split和spitlines,isnumeric和digit的区别?? ...
分类:编程语言   时间:2017-07-12 19:55:50    阅读次数:196
JS - dateFormat
// date必填, pattern默认'yyyy-MM-dd HH:mm:ss'function dateFormat (date, pattern) { var week = {'0':'日', '1':'一', '2':'二', '3':'三', '4':'四', '5':'五', '6':' ...
分类:Web程序   时间:2017-07-12 18:56:26    阅读次数:239
使用jmeter执行多条sql语句
注意2个地方 1、 【JDBC Connection Configuration】 在配置DataBase URL的时候,加上allowMultiQueries=true参数如: jdbc:MySQL://127.0.0.1:3306/mysql?allowMultiQueries=true 2、【 ...
分类:数据库   时间:2017-07-12 18:54:04    阅读次数:415
js去掉字符串中的空格
今天改问题的时候发现,replace方法不能直接替换,(逗号) 经过测试: 这个方法还是可行的 只是记录一下,哈哈 ...
分类:Web程序   时间:2017-07-12 18:52:56    阅读次数:109
卡尔曼滤波小结
一直在看,一直不懂。 我这人学数学的毛病,就是需要非常细致的知道每个变量的含义,谁变谁不变必须清清楚楚告诉我,否则我就没有那个直觉。 anyway,从这篇文章入手吧: http://www.cs.unc.edu/~welch/kalman/media/pdf/kalman_intro_chinese ...
分类:其他好文   时间:2017-07-12 17:48:21    阅读次数:143
127. Word Ladder
https://leetcode.com/problems/word-ladder/#/description Given two words (beginWord and endWord), and a dictionary's word list, find the length of shor ...
分类:其他好文   时间:2017-07-12 17:44:57    阅读次数:106
转 freemarker macro(宏)的使用
有人说用freemarker,但没有用到它的宏(macro),就=没有真正用过freemarker。说的就是宏是freemarker的一大特色。 宏的定义可以查看相关的文档,里面介绍得很清楚,下面来看看它的一个用法。 /WEB-INF/template/common/common.ftl: <#ma ...
分类:系统相关   时间:2017-07-12 15:23:03    阅读次数:354
c#随机生成汉字、字母、数字
/// /// 替换变量 /// /// /// public static string replaceBianLiang(string content) { content = content.Replace("{当前时间}", DateTime.Now.... ...
分类:Windows程序   时间:2017-07-12 13:45:12    阅读次数:190
java中数组有没有length()方法?string没有lenght()方法?
java中数组有没有length()方法,求数组的长度可以使用数组的length属性。 int[] arr={1,2,3,4,5}; int length=arr.length;//求数组的长度 String 有length()方法,用来求字符串的长度 String str="Hello"; int ...
分类:编程语言   时间:2017-07-12 11:09:40    阅读次数:329
Javascript兼容各浏览器的日期转换
var date = new Date(Date.parse("2015-09-05".replace(/-/g,"/")));'2015-09-05'是无法被各个浏览器中,使用new Date(str)来正确生成日期对象的。 正确的用法是'2015/09/06'. javascript的日期用法: ...
分类:编程语言   时间:2017-07-12 10:11:50    阅读次数:156
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!