码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
字符串查找匹配
vector split(const string& src, const string& separator){vectordest;string str = src;string substring;string::size_type start = 0, index;do{index = st...
分类:其他好文   时间:2014-06-10 20:35:36    阅读次数:238
jquery ajax实例
var formParam = $("#ADManageForm").serialize();//ADManageForm form的id。$.ajax({ type: "POST",//提交方式 async:true,//异步请求,false时为同步,锁定浏览器,其他操作必须等到请...
分类:Web程序   时间:2014-06-10 20:31:46    阅读次数:227
sharepoint 判断用户是否存在某个组中三种方法
1、思路:查找用户所有的组来匹配是否在特定的组(推荐)不用担心组不存在而报错。 public static bool IsUserMemberOfGroup(SPUser user, string groupName) { bool result = false...
分类:其他好文   时间:2014-06-10 20:10:24    阅读次数:209
MFC获取系统当前时间
1.使用CTime类 CString str; //获取系统时间 CTime tm; tm=CTime::GetCurrentTime(); str=tm.Format("现在时间是%Y年%m月%d日 %X %H:%M:%S");MessageBox(str,NULL,MB_OK);%a...
分类:其他好文   时间:2014-06-10 19:46:24    阅读次数:337
WPF 中资源路径的问题
WPF 中资源路径的问题1. 引用当前工程的资源(注意xxxx.png的build action 应设置为Resource 或Embedded Resource)2.引用其它工程的资源 (注意xxxx.png的build action 应设置为Resource 或Embedded Resource)...
分类:其他好文   时间:2014-06-10 19:33:30    阅读次数:219
swift中函数使用
1,普通函数定义及使用 func myFunction(message:String="message",repeat:Int = 1){//可以设置函数默认参数值(very nice) println("text is \(message) time is :\(repeat)") }...
分类:其他好文   时间:2014-06-10 19:32:10    阅读次数:202
ELb表达式
主要用于servlet的4个作用域取值:pageScope、requestScope、sessionScope、applicationScope取值顺序依次从小到大。取值方式如:操作javabean属性:${user.uname}跨作用域查找 ${pageScope.ccc }---${reques...
分类:其他好文   时间:2014-06-10 17:13:40    阅读次数:198
Apache Common Beanutil
1. add maven commons-beanutils commons-beanutils 1.9.2 compile 2. 参数赋值取值PropertyUtils.getSimpleProperty(Object, String...
分类:其他好文   时间:2014-06-10 17:11:31    阅读次数:283
IE浏览器的判断
function compatibleIE8(){ var browser = navigator.appName; var b_version = navigator.appVersion; if(browser == "Microsoft Internet Explorer"){ var ve....
分类:其他好文   时间:2014-06-10 17:10:05    阅读次数:184
[leetcode]Letter Combinations of a Phone Number @ Python
原题地址:https://oj.leetcode.com/problems/letter-combinations-of-a-phone-number/题意:Given a digit string, return all possible letter combinations that the ...
分类:编程语言   时间:2014-06-10 16:40:57    阅读次数:223
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!