码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
PHP中CURL方法curl_setopt()函数的一些参数
转载自http://blog.csdn.net/superbirds/article/details/7532277bool curl_setopt (int ch, string option, mixed value)curl_setopt()函数将为一个CURL会话设置选项。option参数是...
分类:Web程序   时间:2015-05-06 01:20:13    阅读次数:149
js数据类型判断和数组判断
这么基础的东西实在不应该再记录了,不过嘛,温故知新~就先从数据类型开始吧js六大数据类型:number、string、object、Boolean、null、undefinedstring: 由单引号或双引号来说明,如"string"number:什么整数啊浮点数啊都叫数字,你懂的~Boolean:...
分类:编程语言   时间:2015-05-06 01:15:58    阅读次数:153
C#string类型总结
个人笔记分享,知识点以及小练习字符串的特性:不可变性,每对字符串做拼接或者重新赋值之类的操作,都会在内存中产生一个新的实例。所以说,在.Net平台下,如果你对一个字符串进行大量的拼接赋值等操作,会产生大量的垃圾。---->我们可以将字符串看做是char类型的只读数组。 --->当我们以索引的方式去访...
分类:Windows程序   时间:2015-05-06 01:15:20    阅读次数:200
Longest Palindromic Substring
原理参考:http://www.douban.com/note/321468038/public class Solution { public String longestPalindrome(String s) { if((s == null) || (s.length() ...
分类:其他好文   时间:2015-05-06 01:09:48    阅读次数:145
Reverse Words in a String——LeetCode
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".Update (2015-02-12):For C prog...
分类:其他好文   时间:2015-05-06 01:07:01    阅读次数:123
js判断某变量是不是字符串
var?str?=?‘asdf‘;? var?str1?=?new?String(‘asdf‘); typeof?str;//"string" typeof?str1;//"object" Object.prototype.toString.cal(str);?//"[object?String]" Object.prototype.toString.call(str...
分类:Web程序   时间:2015-05-06 00:04:55    阅读次数:143
[LeetCode]151.Reverse Words in a String
Given an input string, reverse the string word by word.For example, Given s = “the sky is blue”, return “blue is sky the”.Update (2015-02-12): For C programmers: Try to solve it in-place in O(1) s...
分类:其他好文   时间:2015-05-06 00:01:27    阅读次数:188
csu 1550: Simple String (字符串)
1550: Simple String Time Limit: 1 Sec  Memory Limit: 256 MB Submit: 249  Solved: 112 [Submit][Status][Web Board] Description Welcome,this is the 2015 3th Multiple Universities Programming...
分类:其他好文   时间:2015-05-05 23:54:43    阅读次数:244
jQuery自动补全插件使用,三种获取数据源方式
jQuery有很多很多的已经实现,很漂亮的插件,autocomplete就是其中之一。jQuery ui autocomplete主要支持字符串Array、JSON两种数据格式。主要参数:Source:数据源,类型为String、Array、Function,其中String为ajax请求的服务器端...
分类:Web程序   时间:2015-05-05 23:47:30    阅读次数:274
[原创] [C#] 转换Excel数字列号为字母列号
转换Excel数字列号为字母列号例如:0 -> A26 -> AAprivate static string GetColumnChar(int col){ var a = col / 26; var b = col % 26; if (a > 0) return GetC...
分类:Windows程序   时间:2015-05-05 23:43:26    阅读次数:229
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!