Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-1775

$firstwords function doesn't catch IndexError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.3.2
    • None
    • Scripting
    • None
    • Windows 7

      The `$firstwords` function does not catch and handle IndexError.  For example, the following will crash.

      $firstwords(one two three four,-40)
      

       

            rdswift Bob Swift
            rdswift Bob Swift
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package
                2.3.2