sjoin ‘;’ SEPARATOR ( ‘;’ LIST )+
Description: static String _sjoinHelp = "${sjoin;<separator>;<list>...}"; public String _sjoin(String args[]) throws Exception { verifyCommand(args, _sjoinHelp, null, 2, Integer.MAX_VALUE);
Date: 2019-10-12T20:27:56-04:00

- Supported by OSGi enRoute

- # sjoin ';' SEPARATOR ( ';' LIST )+

      static String	_sjoinHelp	= "${sjoin;<separator>;<list>...}";
      public String _sjoin(String args[]) throws Exception {
      	verifyCommand(args, _sjoinHelp, null, 2, Integer.MAX_VALUE);

      	List<String> result = new ArrayList<String>();
      	for (int i = 2; i < args.length; i++) {
      		Processor.split(args[i], result);
      	}
      	return Processor.join(args[1], result);
      }