A method is similar to a function – it takes arguments and returns a value – but the syntax is different. For example, the method upper takes a string...
分类:
其他好文 时间:
2014-07-07 15:42:12
阅读次数:
217
Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe...
分类:
其他好文 时间:
2014-07-07 15:30:23
阅读次数:
169
1 -- 查看表空间容量 2 SELECT UPPER(F.TABLESPACE_NAME) "表空间名", 3 D.TOT_GROOTTE_MB "表空间大小(M)", 4 D.TOT_GROOTTE_MB - F.TOTAL_BYTES "已使用空间(M)", 5 TO_CHAR(ROUND(....
分类:
数据库 时间:
2014-07-01 17:31:11
阅读次数:
316
js中有一个关键字const,但目前的浏览器似乎还不支持,如果一定要定义一些常量,其实可以使用闭包,匿名函数实现常量的定义。
例如:
var Class = (function() {
var UPPER_BOUND = 100;//定义了常量
var Test={};
// 定义了一个静态方法 获取常量的方法
Test.getUPPER_BOUND=function() {...
分类:
Web程序 时间:
2014-07-01 15:29:55
阅读次数:
249
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.
If the last word does not exist, return 0.
Note: A word is d...
分类:
其他好文 时间:
2014-06-27 10:18:32
阅读次数:
151
Given a string s consists of upper/lower-case alphabets and empty space characters
' ',
return the length of last word in the string.
If the last word does not exist, return 0.
Note...
分类:
其他好文 时间:
2014-06-26 13:55:01
阅读次数:
179
1 SELECT UPPER(F.TABLESPACE_NAME) "表空间名",D.TOT_GROOTTE_MB "表空间大小(M)",D.TOT_GROOTTE_MB - F.TOTAL_BYTES "已使用空间(M)",TO_CHAR(ROUND((D.TOT_GROOTTE_MB - F.T...
分类:
数据库 时间:
2014-06-25 16:41:08
阅读次数:
249
Given a string s consists of upper/lower-case alphabets and empty space characters '
', return the length of last word in the string.
If the last word does not exist, return 0.
Note: A word is...
分类:
其他好文 时间:
2014-06-25 10:30:08
阅读次数:
220
SQL Server之字符串函数以下所有例子均Studnet表为例:计算字符串长度len()用来计算字符串的长度select sname ,len(sname) from student字符串转换为大、小写lower() 用来将一个字符串转换为小写,upper() 用来将一个字符串转换为大写sele...
分类:
数据库 时间:
2014-06-24 10:56:25
阅读次数:
254
leetcode:Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last...
分类:
其他好文 时间:
2014-06-22 13:41:07
阅读次数:
154