• Given a string that represents a list of delimited tokens, it returns the normalized string representing the same list, without empty elements, sorted, and with no duplicates.

    Parameters

    • Optional delimitedString: string

      String to normalize.

    • delimiter: string = ','

      Delimiter used to split the string into tokens.

    Returns string | undefined

    String with the normalized list of tokens.