Determine if a string has all unique characters: Difference between revisions
Determine if a string has all unique characters (view source)
Revision as of 01:29, 31 December 2019
, 4 years ago→{{header|AppleScript}}
(→{{header|AppleScript}}: Added an AppleScript draft.) |
|||
Line 46:
{{Trans|Haskell}}
{{Trans|Python}}
{{Trans|JavaScript}}
<lang applescript>use AppleScript version "2.4"
use framework "Foundation"
Line 448 ⟶ 449:
'XYZ ZYX' (7) -> 'X' at 1, 7
'1234567890ABCDEFGHIJKLMN0PQRSTUVWXYZ' (36) -> '0' at 10, 25</pre>
=={{header|AWK}}==
|