Determine if a string has all unique characters: Difference between revisions
Determine if a string has all unique characters (view source)
Revision as of 23:10, 8 January 2022
, 2 years ago→{{header|R}}: Syntax highlighting.
(Added solution for Action!) |
ReeceGoding (talk | contribs) m (→{{header|R}}: Syntax highlighting.) |
||
Line 3,241:
=={{header|R}}==
Most of this is adapted from [[Determine if a string has all the same characters#R]].
<lang
{
strLength<-nchar(string)
Line 3,339:
This is a duplicate of the character at index 10.
[1] FALSE</pre>
=={{header|Racket}}==
|