|
@@ -2015,7 +2015,9 @@ public class CustomFunction {
|
|
|
List<String> list = Arrays.asList(param.split("[^.\\d]"));
|
|
|
List<Integer> index =list.stream().map(Integer::parseInt).collect(Collectors.toList());
|
|
|
for(Integer i:index){
|
|
|
- result.add(nodes.get(i));
|
|
|
+ if(i<nodes.size()) {
|
|
|
+ result.add(nodes.get(i));
|
|
|
+ }
|
|
|
}
|
|
|
return String.join("", result);
|
|
|
}
|