Added ReplaceSpaces()