##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: September 2016 # Modified: 2016-10-03/23:19-0400 ##+ # # simple-scan.icn, A simple string scanning example # procedure main() s := "Where's Waldo?" s ? p := find("Waldo") if \p then write("Found starting at position ", p) end