Function normalize

  • Normalizes a string by converting it to lowercase and removing diacritical marks.

    Parameters

    • str: string = ''

      The string to normalize.

    Returns string

    The normalized string.