What would be the best way to remove excessive whitespaces in the middle of a value? (Calibre seems to remove them at the beginnings and endings.)
I was thinking something like re checking for two or more spaces but wasn't sure if there was a better way.
Last edited by ownedbycats; 06-12-2023 at 12:30 AM.
|