Function capitalizer

  • capitalize string first letter of each word which mixed with symbols

    Parameters

    • str: string
    • moreSymbols: string[] = []

      add more symbols

    Returns string