add functions dot2space and space2dot for Sparcc input file format