C#常用的命名规则Pascal 规则每个单词开头的字母大写(如 TestCounter).Camel 规则除了第一个单词外的其他单词的开头字母大写. 如. testCounter.Upper 规则仅用于一两个字符长的常量的缩写命名,超过三个字符长度应该应用Pascal规则.例如:public cla...
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-11-04 12:24:53
阅读次数:
187
单行函数:单行函数主要分为以下五类:字符函数、数字函数、日期函数、转换函数、通用函数;字符函数·UPPER(字符串|列):将输入的字符串变为大写返回;·LOWER(字符串|列):将输入的字符串变为小写返回;·INITCAP(字符串|列):开头首字母大写;·LENGTH(字符串|列):求出字符..
分类:
数据库 时间:
2014-11-04 06:54:55
阅读次数:
252
??
单行函数
①.字符函数
LOWER(x):将x中的每个单词都转换成小写
UPPER(x):将x中的每个单词都转换成大写
INITCAP(x): 将x中的每个单词的首字母转换成大写
CONCAT(x,y):用于将y添加到x之后,与||功能一样
SUBSTR(x,start[,length]): 用于从x中取得从start位置开始的一个子字符串,
可选参数length:指...
分类:
数据库 时间:
2014-10-30 15:19:16
阅读次数:
303
【__doc__】
>>> str.__doc__ #内置文档字符串; 模块级
"str(object='') -> string\n\nReturn a nice string representation of the object.\nIf the argument is a string, the return value is the same object."
>>> str.upper.__doc__ #内置文档字符串; 函数级
'S.upper() -> string\n...
分类:
编程语言 时间:
2014-10-29 14:58:23
阅读次数:
307
PHP has a huge range of built-in functions designed to perform predefined tasks such as converting a string to upper case, getting the dimensions of a...
分类:
Web程序 时间:
2014-10-28 17:36:24
阅读次数:
150
查询表空间使用率:SELECT UPPER(F.TABLESPACE_NAME) "表空间名", D.TOT_GROOTTE_MB "表空间大小(M)", D.TOT_GROOTTE_MB - F.TOTAL_BYTES "已使用空间(M)", TO_CHAR(ROUND((D.TOT_GRO...
分类:
数据库 时间:
2014-10-27 17:31:02
阅读次数:
209
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 defi...
分类:
其他好文 时间:
2014-10-27 14:26:12
阅读次数:
249
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-10-26 14:18:54
阅读次数:
158
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-10-24 13:00:38
阅读次数:
170