码迷,mamicode.com
首页 >  
搜索关键字:golang string byte rune    ( 106373个结果
Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2014-07-22 23:11:32    阅读次数:388
打印乘法口诀表练习 Mul
public class Mul { public static void main(String[] args) { // 第一种方法 for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9...
分类:其他好文   时间:2014-07-22 23:10:55    阅读次数:270
java中的流程控制
流程控制顺序执行流程条件分支流程if(布尔表达式) {}if(布尔表达式) {} else{} if(表达式1){}else if(表达式2){}else if...else{}switch(int型表达式或变量) // byte short int char string(1.7之后){ ...
分类:编程语言   时间:2014-07-22 23:10:35    阅读次数:353
asp.net 获取url
string url = Request.Url.ToString();
分类:Web程序   时间:2014-07-22 23:10:33    阅读次数:292
null 和 undefined 的区别
探索javascript中null和undefined的深渊译05 January 2014当讨论JavaScript中的原始数据类型时,大多数人都知道的基本知识,从String,Number到Boolean。这些原始类型相当简单,行为符合常识。但是,本文将更多聚焦独特的原始数据类型Null和Und...
分类:其他好文   时间:2014-07-22 23:10:32    阅读次数:507
CheckBoxList 只能选2个选项
// ////下面判断用户是否多选,每选择一次比较一次,看是否超过规定名额 //string ClickedItem = Request.Form["__EVENTTARGET"];//得到用户点击的是哪个 //ClickedItem = C...
分类:其他好文   时间:2014-07-22 23:09:53    阅读次数:270
C#String与string大小写的区别
string是c#中的类 String是.net Framework的类用string需要通过再次编译,所以直接用String速度会更快···string是关键字,而String不是···string是String的别名。string是c#中的类,String是.net Framework的类(在c...
分类:其他好文   时间:2014-07-22 23:09:16    阅读次数:244
Leetcode | Work Break
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.For e...
分类:其他好文   时间:2014-07-22 23:08:32    阅读次数:383
Go语言Eclipse开发环境配置-windows
1.首先安装eclipse,选择一个适合的版本就好,解压即可 http://www.eclipse.org/downloads/ 2.下载go语言安装包 官网地址 :http://www.golang.org/ 官网地址有时候打不开,百度云盘下载go1.2安装包http://pan.baidu...
分类:Windows程序   时间:2014-07-22 23:08:13    阅读次数:632
占位符
目前只会一种比如:String str="我是{0},我来自{1}";str=str.replace("{0}","bruceLee");str=str.replcae("{1}","chn");syso(str);
分类:其他好文   时间:2014-07-22 23:07:54    阅读次数:216
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!