Perhaps using Replace function will give you what you need:

replace("0 1 2 3", space(1), ".")