• Camelize a string, cutting the string by separator character.

    Parameters

    • text: string

      to camelize

    • separator: RegExp = ...

      Word separator (string or regexp)

    Returns string

    string Camelized text