Function replaceEolsWithSpaces

replace end of lines with spaces

dstring replaceEolsWithSpaces(
  dstring source
);