Sort the letters of string in alphabetical order: Difference between revisions
Content added Content deleted
(→{{header|Phix}}: added acse insensitive version) |
m (→case insensitive: oops, wrong internal tag) |
||
Line 133: | Line 133: | ||
===case insensitive=== |
===case insensitive=== |
||
You can make this case insensitive by applying lower() on each internal comparison, whereas with the builtin that is done by extracting a custom tagsort: |
You can make this case insensitive by applying lower() on each internal comparison, whereas with the builtin that is done by extracting a custom tagsort: |
||
<!--<lang Phix>( |
<!--<lang Phix>(notonline)--> |
||
<span style="color: #008080;">without</span> <span style="color: #008080;">javascript_semantics</span> <span style="color: #000080;font-style:italic;">-- (JavaScript does not support string subscript destructuring)</span> |
<span style="color: #008080;">without</span> <span style="color: #008080;">javascript_semantics</span> <span style="color: #000080;font-style:italic;">-- (JavaScript does not support string subscript destructuring)</span> |
||