Fix: Allow smartSplit() to handle String of chars not just a single char
This commit is contained in:
parent
d2edffcef4
commit
e23fef8b66
@ -76,7 +76,7 @@ public class SmartSplit implements Function {
|
||||
if (args.length > 1) {
|
||||
String sep = args[1].toString();
|
||||
parser = new CSVParser(
|
||||
sep.charAt(0),
|
||||
sep,
|
||||
CSVParser.DEFAULT_QUOTE_CHARACTER,
|
||||
CSVParser.DEFAULT_ESCAPE_CHARACTER,
|
||||
CSVParser.DEFAULT_STRICT_QUOTES,
|
||||
|
Loading…
Reference in New Issue
Block a user