make sure that splitting values maintains empty cells if the separator is repeated
(this is useful in case the cells contains a rigid structure across multiple columns) git-svn-id: http://google-refine.googlecode.com/svn/trunk@1062 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
2302d017d8
commit
9fbff0640b
@ -92,7 +92,7 @@ public class MultiValuedCellSplitOperation extends AbstractOperation {
|
||||
if (_mode.equals("regex")) {
|
||||
values = s.split(_separator);
|
||||
} else {
|
||||
values = StringUtils.splitByWholeSeparator(s, _separator);
|
||||
values = StringUtils.splitByWholeSeparatorPreserveAllTokens(s, _separator);
|
||||
}
|
||||
|
||||
if (values.length < 2) {
|
||||
|
Loading…
Reference in New Issue
Block a user