摘要: reference的overview是:A mapping from String values to various Parcelable types.1.看了一篇文章(http://blog.csdn.net/randyjiawenjie/article/details/6651437),了解到它可以存储键值对:Bundle mBundle = new Bundle(); mBundle.putString("Data", "data from TestBundle"); //传值给另一个Activity:Intent intent = new In 阅读全文
posted @ 2013-12-02 21:21 LarryLawrence 阅读(304) 评论(0) 推荐(0)
摘要: String.IndexOfString.IndexOf 方法 (Char, Int32, Int32)报告指定字符在此实例中的第一个匹配项的索引。搜索从指定字符位置开始,并检查指定数量的字符位置。String.IndexOf(value, startIndex, count)参数value:要查找的 Unicode 字符。startIndex:搜索起始位置。count:要检查的字符位置数。返回值(Int32):如果找到该字符,则为 value 的索引位置;否则如果未找到,则为 -1。String.LastIndexOfString.LastIndexOf 方法报告指定的 Unicode 字. 阅读全文
posted @ 2013-12-02 09:18 LarryLawrence 阅读(237) 评论(0) 推荐(0)