Function stripSuffix

Strip a suffix from a string.

  • Parameters

    • from: string

      string to strip suffix from

    • suffix: string

      suffix to strip

    Returns string