function htmlEscape(str) { if(str && typeof(str) == "string"){ return str.replace(/&/g, '&') .replace(/</g, '<') .replace(/>/g, '>') .replac ...
分类:
其他好文 时间:
2018-08-15 15:32:52
阅读次数:
154
函数的定义:CREATE OR REPLACE FUNCTION FUNCTION_TEST(PARAMER1 IN VARCHAR, -- 参数的类型不写长度 PARAMER2 OUT VARCHAR, PARAMER3 IN V... ...
分类:
数据库 时间:
2018-08-14 21:03:02
阅读次数:
164
Forwarding and routing 2 important network-layer functions – forwarding and routing. Forwarding: The router-local action of transferring a packet from ...
分类:
Web程序 时间:
2018-08-14 17:52:48
阅读次数:
253
整型 int 字符串 str 1 __author__ = "Tang" 2 3 """不要指望一下全背下来""" 4 """必会的:join split find strip upper lower replace""" 5 6 # capitalize() 首字母大写 7 a = 'tang' ...
分类:
编程语言 时间:
2018-08-13 23:46:22
阅读次数:
230
Given a string, replace each its character by the next one in the English alphabet (z would be replaced by a). Example For inputString = "crazy", the ...
分类:
其他好文 时间:
2018-08-13 20:46:31
阅读次数:
171
原地址:忘了 controller 的 action 加上属性 [System.ComponentModel.Description("菜单列表")] 且 返回值为 System.Web.Mvc.ActionResult 类型,就可以获取到了 [System.ComponentModel.Descr ...
分类:
其他好文 时间:
2018-08-13 12:18:13
阅读次数:
155
字符串修改replace(old,new[,count])->str字符串中找到匹配替换为新子串,返回新字符串count表示替换几次,不指定就是全部替换原字符串为一个常量,不可变。修改返回的为新子串strip([chars])->str从字符串两端去除指定字符集chaars中的所有字符如果chars没有指定,去除两端的空白字符空白字符、就是指看不见的字符如\r\n\t空格空白字符,空串
分类:
编程语言 时间:
2018-08-12 19:59:55
阅读次数:
232
1.js字符串转换成时间 1.1方法一:输入的时间格式为yyyy-MM-dd function convertDateFromString(dateString) { if (dateString) { var date = new Date(dateString.replace(/-/,"/")) ...
分类:
Web程序 时间:
2018-08-12 15:49:47
阅读次数:
671
#文件操作,歌词helloimport oslyric = open("E:/python_pj/test/hello.txt",mode="r")data = lyric.read()data = data.replace("hello","HELLO")lyric.close()lyric = ...
分类:
其他好文 时间:
2018-08-12 00:34:32
阅读次数:
194
基础编辑 Basic editing 导航 Navigation 搜索和替换 Search and replace 多光标和选择 Multi-cursor and selection 丰富的语言编辑 Rich languages editing 编辑器管理 Editor management 文件管 ...
分类:
其他好文 时间:
2018-08-11 14:36:04
阅读次数:
140