Anonymous user
Sort the letters of string in alphabetical order: Difference between revisions
Sort the letters of string in alphabetical order (view source)
Revision as of 04:47, 30 November 2021
, 2 years ago→{{header|Common Lisp}}: Added Common Lisp version
(add FreeBASIC) |
(→{{header|Common Lisp}}: Added Common Lisp version) |
||
Line 183:
</pre>
=={{header|Common Lisp}}==
<lang lisp>
(sort "Now is the time for all good men to come to the aid of their country." #'char<=)
</lang>
{{out}}
<pre>
" .Naaccddeeeeeeffghhhiiiillmmmnnooooooooorrrstttttttuwy"
</pre>
=={{header|F_Sharp|F#}}==
<lang fsharp>
|