摘要:
getChars() getChars() 方法将字符从字符串复制到目标字符数组。 语法 public void getChars... 阅读全文
posted @ 2022-05-01 22:16
吕布辕门
阅读(69)
评论(0)
推荐(0)
摘要:
join 返回由delimiter连接的副本和指定的副本组成的新字符串 。 请注意,如果元素为空,则"null"添加。 语法: j... 阅读全文
posted @ 2022-05-01 22:16
吕布辕门
阅读(152)
评论(0)
推荐(0)
摘要:
字符串替换 replace() replace() 方法通过用 newChar 字符替换字符串中出现的所有 searchChar ... 阅读全文
posted @ 2022-05-01 22:16
吕布辕门
阅读(167)
评论(0)
推荐(0)
摘要:
indexOf() indexOf() 方法有以下四种形式: 返回指定字符在字符串中第一次出现处的索引,如果此字符串中没有这样的字... 阅读全文
posted @ 2022-05-01 22:16
吕布辕门
阅读(327)
评论(0)
推荐(0)
摘要:
isEmpty isEmpty() 方法用于判断字符串是否为空。 语法 public boolean isEmpty() 参数 无... 阅读全文
posted @ 2022-05-01 22:16
吕布辕门
阅读(53)
评论(0)
推荐(0)
摘要:
lastIndexOf lastIndexOf() 方法有四种形式: 返回指定字符在此字符串中最后一次出现处的索引,如果此字符串中... 阅读全文
posted @ 2022-05-01 22:16
吕布辕门
阅读(116)
评论(0)
推荐(0)
摘要:
endsWith() endsWith() 方法用于测试字符串是否以指定的后缀结束。 语法 public boolean ends... 阅读全文
posted @ 2022-05-01 22:16
吕布辕门
阅读(42)
评论(0)
推荐(0)
摘要:
hashCode hashCode() 方法用于返回字符串的哈希码。 字符串对象的哈希码根据以下公式计算: s[0]*31^(n-1... 阅读全文
posted @ 2022-05-01 22:16
吕布辕门
阅读(152)
评论(0)
推荐(0)
摘要:
目录 startsWith()语法参数返回值实例源码 startsWith() startsWith() 方... 阅读全文
posted @ 2022-05-01 22:16
吕布辕门
阅读(70)
评论(0)
推荐(0)
摘要:
目录 字符串转换valueOf参数返回值实例源码 toCharArray()语法参数返回值实例源码 toLower... 阅读全文
posted @ 2022-05-01 22:16
吕布辕门
阅读(73)
评论(0)
推荐(0)
浙公网安备 33010602011771号