imenu-space-replacement

imenu-space-replacement is a variable defined in `imenu.el'.
Its value is
"."


Documentation:
The replacement string for spaces in index names.
Used when presenting the index in a completion buffer to make the
names work as tokens.

You can customize this variable.