Procedure to transform any namespace divided by certain characters into space separated form.