@nyaomaru/divider
    Preparing search index...

    Function dividerLast

    • Extracts the last segment after dividing the input using specified separators.

      Parameters

      Returns string

      The last segment after division, or an empty string if no segments are found

      dividerLast("hello-world", "-") // returns "world"
      dividerLast("abc123def", "3") // returns "def"