used .split and .join on arrays and strings