Sort the letters of string in alphabetical order: Difference between revisions
Sort the letters of string in alphabetical order (view source)
Revision as of 16:45, 24 July 2021
, 2 years ago→{{header|Wren}}: Oops, lost a line!
m (→{{header|Wren}}: Removed blank line.) |
(→{{header|Wren}}: Oops, lost a line!) |
||
Line 57:
var s = "forever wren programming language"
s = bubbleSort.call(s).trimStart() // get rid of whitespace which will be at the front
System.print(s)</lang>
{{out}}
|