mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
修复CsvParser中对正文中双引号处理逻辑问题
This commit is contained in:
@@ -2645,7 +2645,7 @@ public class CharSequenceUtil extends StrValidator {
|
||||
if (isEmpty(str)) {
|
||||
return toStringOrNull(str);
|
||||
}
|
||||
if (str.charAt(0) == prefix && str.charAt(str.length() - 1) == suffix) {
|
||||
if (isWrap(str, prefix, suffix)) {
|
||||
return sub(str, 1, str.length() - 1);
|
||||
}
|
||||
return str.toString();
|
||||
|
Reference in New Issue
Block a user