##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: November 2016 # Modified: 2016-11-28/03:42-0500 ##+ # # Rtab.icn, SNOBOL pattern return characters, current to count from end # procedure main() # match characters from current to new cursor, set back from end # Rtab counts backwards from end # returns characters from position 1,2 with cursor now at 3 "string" ?? Rtab(4) => result || .> curs write(image(result), " ", curs) end