StringUtils
.startsWith(
"sssdf",
"")
StringUtils
.startsWith(
"sssdf",
"")
StringUtils
.startsWith(
"sssdf",
"s")
StringUtils
.startsWith(
"sssdf",
"ss")
StringUtils
.startsWith(
"sssdf",
"sss")
StringUtils
.startsWith(
"sssdf",
"sssdf")
StringUtils
.startsWith(
"sssdf",
"f")
StringUtils
.startsWith(
"sssdf",
"sssdf")
StringUtils
.startsWithIgnoreCase(
"sssdf",
"Sssdf")
StringUtils
.startsWithAny(
"aabcde",newString[]{
"g",
"f"})
StringUtils
.startsWithAny(
"aabcde",newString[]{
"g",
"a"})
StringUtils
.endsWith(
"aabcde",
"d")
StringUtils
.endsWith(
"aabcde",
"e")
StringUtils
.endsWithIgnoreCase(
"",
"")
StringUtils
.replaceOnce(
"sshhhss",
"ss",
"p")
StringUtils
.replace(
"sshhhs",
"ss",
"p")
StringUtils
.replace(
"sshhhsshss",
"ss",
"7777",
2)
StringUtils
.replaceChars(
"sshhhs",
"ss",
"p")
StringUtils
.replaceEach(
"www.baidu.com",newString[]{
"baidu",
"com"},newString[]{
"taobao",
"net"})
StringUtils
.replaceEach(
"www.baidu,baidu.com",newString[]{
"baidu",
"com"},newString[]{
"taobao",
"net"})
StringUtils
.replaceEachRepeatedly(
"www.baidu.com",newString[]{
"baidu",
"com"},newString[]{
"taobao",
"net"})
StringUtils
.equals(
"",
"")
StringUtils
.equals(null,null)
StringUtils
.equals(
"",null)
StringUtils
.equals(null,
"")
StringUtils
.equalsIgnoreCase(
"ss",
"Ss")
StringUtils
.indexOf(
"sdfsfsfdsf",
"4")
StringUtils
.indexOf(
"sdfsfsfdsf",
"f")
//查找searchChar在字符串中最后一次出现的索引*/
StringUtils
.lastIndexOf(
"aFkyk",
"k")
StringUtils
.lastIndexOf(
"aFkyk",
"")
StringUtils
.indexOfAny(
"sdsfhhl0",
"f")
StringUtils
.indexOfAny(
"sdsfhhl0",newString[]{
"f",
"0"})
StringUtils
.indexOfAny(
"sdsfhhl0",newString[]{
"t",
"j"})
StringUtils
.indexOfAny(
"sdsfhhl0",newString[]{
"t",
"j",
""})
StringUtils
.lastIndexOfAny(
"aFkyk",newString[]{
"aFkyk",
"k"})
StringUtils
.indexOfAnyBut(
"sdsfhhl0",
"h")
StringUtils
.indexOfAnyBut(
"sdsfhhl0",
"s")
StringUtils
.indexOfAnyBut(
"aa",
"aa")
StringUtils
.indexOfDifference(
"sdsfdsf",
"s")
StringUtils
.indexOfDifference(newString[]{
"sdsfdsf",
"s"})
StringUtils
.difference(
"灌灌灌灌",
"灌灌灌灌啊啊")
StringUtils
.indexOfIgnoreCase(
"aFabbSSdd",
"f")
StringUtils
.indexOfIgnoreCase(
"aFabbSSdd",
"f",
2)
StringUtils
.indexOfIgnoreCase(
"aFabbSSdd",
"f",
1)
StringUtils
.lastIndexOfIgnoreCase(
"",
"")
StringUtils
.lastIndexOfIgnoreCase(
"",
"",
2)
StringUtils
.substring(
"dskabcee",
3)
StringUtils
.substring(
"dskabcee",
3,
5)
StringUtils
.substringBefore(
"dskeabcee",
"e")
StringUtils
.substringBeforeLast(
"dskeabcee",
"e")
StringUtils
.substringAfter(
"dskeabcedeh",
"")
StringUtils
.substringAfterLast(
"dskeabcedeh",
"")
StringUtils
.substringBetween(
"dskeabcedeh",
"ds")
StringUtils
.substringBetween(
"dskeabcedeh",
"ds",
"e")
StringUtils
.substringsBetween(
"dskeabcedeh",
"ds",
"e")
StringUtils
.split(
"y5y,4454,545")
StringUtils
.split(
"aaaa#sss",
"#")
StringUtils
.split(
"aaaa#sss#",
"#",
2)
StringUtils
.splitByCharacterType(
"aa3444张三Bcss")
StringUtils
.splitByCharacterTypeCamelCase(
"")
StringUtils
.splitByWholeSeparator(
"aaaa#sss#",
"#")
StringUtils
.splitByWholeSeparator(
"aaaa#sss#ggg",
"#")
StringUtils
.splitByWholeSeparator(
"aaaa#sss#ggg",
"")
StringUtils
.splitByWholeSeparator(
"aaaa#sss#",
"#",
2)
StringUtils
.splitByWholeSeparatorPreserveAllTokens(
"sddssfsfasfsaf",null)
StringUtils
.splitByWholeSeparatorPreserveAllTokens(
"sddssfsfasfsaf",
"")
StringUtils
.splitPreserveAllTokens(
"")
StringUtils
.splitPreserveAllTokens(
"",
"")
StringUtils
.splitPreserveAllTokens(
"",
"",
3)
转载请注明原文地址: https://www.6miu.com/read-36720.html