Board Thread:Lua Help/@comment-166269-20150219203903/@comment-3298582-20150220052822

You could first split at line breaks and then determine the sign by using the second item.