随笔 - 130  文章 - 0  评论 - 7  阅读 - 32万
04 2018 档案
如何去掉C#字符串中的所有空格
摘要:字符串行数Trim()可以去掉字符串前后的空格,如: C# Code string myString = " this is a test "; Console.WriteLine(myString.Trim()); View Code C# Code string myString = " thi 阅读全文
posted @ 2018-04-28 10:02 donchen-c 阅读(86830) 评论(0) 推荐(3) 编辑
JS去掉字符串前后空格或去掉所有空格的用法
摘要:1、 去掉字符串前后所有空格: 代码如下: function Trim(str) { return str.replace(/(^\s*)|(\s*$)/g, ""); } View Code function Trim(str) { return str.replace(/(^\s*)|(\s*$ 阅读全文
posted @ 2018-04-28 09:53 donchen-c 阅读(1641) 评论(0) 推荐(0) 编辑
SQL SERVER 查看SQL语句IO,时间,索引消耗
摘要:1.查看SQL语句IO消耗 set statistics io on select * from dbo.jx_order where order_time>'2011-04-12 12:49:57.580' set statistics io off 2.查看SQL语句时间消耗 set stati 阅读全文
posted @ 2018-04-22 11:28 donchen-c 阅读(2069) 评论(0) 推荐(0) 编辑
jQuery如何根据元素值删除数组元素
摘要:用到的方法$.inArry(); $.inArray( value, array [, fromIndex ] ) value 任意类型 用于查找的值。 array Array类型 指定被查找的数组。 fromIndex 可选。Number类型 指定从数组的指定索引位置开始查找,默认为 0 函数用于 阅读全文
posted @ 2018-04-03 09:55 donchen-c 阅读(2877) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示