LastWord←{ ' '∊⍺:⎕NULL ⎕IO←0 words←' '(≠⊆⊢)⍵ matches←(⍺ ⎕S'%')words {⊃⌽⍵⌿⍨×≢¨⍵}matches ⍝ Last Matching Word }