mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add method
This commit is contained in:
@@ -2857,10 +2857,10 @@ public class CharSequenceUtil {
|
||||
len += str.length();
|
||||
}
|
||||
if (isNotEmpty(prefix)) {
|
||||
len += str.length();
|
||||
len += prefix.length();
|
||||
}
|
||||
if (isNotEmpty(suffix)) {
|
||||
len += str.length();
|
||||
len += suffix.length();
|
||||
}
|
||||
StringBuilder sb = new StringBuilder(len);
|
||||
if (isNotEmpty(prefix) && false == startWith(str, prefix)) {
|
||||
|
Reference in New Issue
Block a user