##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: October, 2016 # Modified: 2016-10-09/11:36-0400 ##+ # # Len.icn, demonstrate Len() SNOBOL pattern matching n characters # # Display the first 12 characters of subject procedure main() sub := "IMPORTANT Message for tag" sub ?? Len(12) => tag write(":", tag, ": ", *tag) end