function out = implode(divider, input);
% out = implode(divider, input)

out = [];
for i = 1:numel(input)

    % only put divider inbetween data
    if i > 1
        
        out = sprintf('%s%s%d', out, divider, input(i));
    else
        
        out = sprintf('%d', input(i));
    end
end
