Function cleanStr

Clean a string to use it within filenames and so.

  • Parameters

    • str: string

      the string to clean

    • Optionalseparator: string

      optional, separator char

    Returns string

    cleaned string