Space Trimming Function

# Space Trimming

Space Trimming will remove unwanted spaces from you filename. There are three options:

- Remove leading spaces - Removes spaces before the first character in the filename.
- Remove trailing spaces - Removes spaces after the last character in the filename.
- Shrink multiple spaces into one - If several spaces are found next to each other they will be replaced by a single one.

Maintain space asserts that certain characters always are surrounded by spaces. For example a period should always be followed by a space.

- Before - If needed, insert a space character right before the specified characters.
- After - If needed, insert a space character right after the specified characters.

Replace underscore by space. Self explanatory.