Commit da293a1e authored by Steve Bennett's avatar Steve Bennett
Browse files

string last: fix segfault with invalid index



[string last foo bar -1] gave segfault due to missing
check for invalid index.

Fixes #161

Signed-off-by: default avatarSteve Bennett <steveb@workware.net.au>
parent 4e2cdaca
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment