RosettaCodeData/Task/String-matching/J/string-matching-1.j

4 lines
72 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
startswith=: ] -: ({.~ #)
contains=: +./@:E.~
endswith=: ] -: ({.~ -@#)