##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: November 2016 # Modified: 2016-11-28/04:04-0500 ##+ # # Rpos.icn, SNOBOL pattern function, test position counted from end # procedure main() # Pattern matching positional test, counted back from end "string" ?? Span('pqrstuv') => first || Rpos(3) || Tab(0) => rest write(image(first), " ", image(rest)) end