public Command createCommand(JSONArray inputJson, String model, Workspace workspace)
throws JSONException, KarmaException {
String worksheetId = HistoryJsonUtil.getStringValue(Arguments.worksheetId.name(), inputJson);
this.normalizeSelectionId(worksheetId, inputJson, workspace);
String hNodeId = HistoryJsonUtil.getStringValue(Arguments.hNodeId.name(), inputJson);
String delimiter = HistoryJsonUtil.getStringValue(Arguments.delimiter.name(), inputJson);
String selectionName = CommandInputJSONUtil.getStringValue(Arguments.selectionName.name(), inputJson);
SplitByCommaCommand comm = new SplitByCommaCommand(getNewId(workspace), model,
worksheetId, hNodeId,
delimiter,
selectionName);
comm.setInputParameterJson(inputJson.toString());
return comm;
}