Jump to content

Sort the letters of string in alphabetical order: Difference between revisions

m
Line 413:
do
create l_list.make_from_iterable (s) -- Add & Auto-sort string by chars
create Result.make_empty -- Create the Result STRING
⟳ c:l_list ¦ Result.append_character (c) ⟲ -- Populate it with the sorted chars
Result.adjust -- Remove the leading white space
end
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.