Words containing "the" substring: Difference between revisions

Content added Content deleted
(Added AppleScript solutions.)
m (→‎{{header|AppleScript}}: Minor preamble edit.)
Line 69: Line 69:


=={{header|AppleScript}}==
=={{header|AppleScript}}==
AppleScripters can tackle this task in a variety of ways. The example handlers below are listed in order of increasing speed but all complete the task in under 0.2 seconds. They all take a file specifier, search string, and minimum length as parameters and return identical results for the same input.
AppleScripters can tackle this task in a variety of ways. The example handlers below are listed in order of increasing speed but all complete the task in under 0.2 seconds on my current machine. They all take a file specifier, search string, and minimum length as parameters and return identical results for the same input.


Using just the core language — 'words':
Using just the core language — 'words':