码迷,mamicode.com
首页 >  
搜索关键字:multiply strings    ( 3474个结果
javascript中call函数与apply
javascript中的call方法使当前对象可以调用另一个对象的方法,即改变this的指向内容 1 var first_object = { 2 num: 42 3 }; 4 var second_object = { 5 num: 24 6 }; 7 function multiply(mult...
分类:移动开发   时间:2014-09-26 19:44:18    阅读次数:200
strtolower() strtoupper()等字符串大小写转换函数
$str="MaryHadALittleLambandSheLOVEDItSo";stringstrtolower(string$str)—将字符串转化为小写(所有字符) //打印maryhadalittlelambandsheloveditso 返回值:返回转换后的字符串strings...
分类:其他好文   时间:2014-09-26 18:17:18    阅读次数:315
android之打开网页
首先改写strings.xml文件代码如下: Intent应用 标准Action操作 Settings MainActivity 然后改写activity_main.xml文件代码如下: 最后改写MainActivity类代码如下:package com.example...
分类:移动开发   时间:2014-09-23 21:49:35    阅读次数:260
Format operator
The argument of write has to be a string, so if we want to put other values in a file, we have to convert them to strings. The easiest way to do that ...
分类:其他好文   时间:2014-09-23 15:23:24    阅读次数:171
android之初识Intent
首先修改values\strings.xml文件代码如下: mytab Settings Intent操作 发送Intent的Activity程序. 接收Intent的Activity程序. 然后定义send_main.xml文件代码如下: 相应的定义Send.ja...
分类:移动开发   时间:2014-09-23 13:26:34    阅读次数:181
Android中 字符串-数字 的转化
字符串-〉数字Strings;inti;i=Integer.parseInt(s);数字-〉字符串Strings;inti;s=String.valueOf(i);//或者s=Integer.toString(i);
分类:移动开发   时间:2014-09-22 03:20:02    阅读次数:182
LogCat、签名、反编译、常见事件实现
1.在res目录下新建目录values-zh-rCN,并在values-zh-rCN目录下新建strings.xml,可以根据安卓系统的操作语言的不同显示相应的语言。2.LogCat(后台日志监控):5个打印级别:verbose详细,debug调试,info通知,warn警告,error错误过滤器增...
分类:其他好文   时间:2014-09-20 18:01:59    阅读次数:296
String 学习1(split valueof)
Strings are constant; their values cannot be changed after they are created String s1 = "Hello";String s2 = "Hello";System.out.println(s1==s2); //true...
分类:其他好文   时间:2014-09-20 17:16:59    阅读次数:185
字符串和字符(Strings and Characters)
字符串和字符(Strings and Characters)本页包含内容:字符串字面量初始化空字符串字符串可变性字符串是值类型使用字符计算字符数量连接字符串和字符字符串插值比较字符串字符串大小写UnicodeString是例如“hello, world”,“海贼王” 这样的有序的Character(...
分类:其他好文   时间:2014-09-20 01:08:36    阅读次数:256
Leetcode: Pow(x, n)
Implement pow(x, n).Analysis:The most basic idea, x multiply itself n time and return. However, this strait forward approach got time excessed. O(n).N...
分类:其他好文   时间:2014-09-20 01:04:26    阅读次数:207
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!