Debian Codegraph @

docs/manual/Strings__To_Permutation___.html

raw
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>Strings: To Permutation...</title>
3 <style>
4 td { padding-left: 5pt; padding-right: 5pt; }
5 th { padding-left: 5pt; padding-right: 5pt; }
6 code { white-space: pre-wrap; }
7 dd { white-space: pre-wrap; }
8 </style>
9 </head><body bgcolor="#FFFFFF">
10
11 <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b>
12 Strings: To Permutation...
13 </b></font></table></table>
14 <p>Generates a <a href="Permutation.html">Permutation</a> with the same number of elements as the <a href="Strings.html">Strings</a>.</p>
15 <h2>Setting</h2>
16 <dl>
17 <dt><b>Sort</b>
18 <dd>determines whether the Permutation will have an element ordering that can be used to sort the Strings alphabetically.</dd>
19 </dl>
20 <h2>Example</h2>
21 <p>If "Sort" is <i>on</i>, and the selected Strings contains 4 strings ordered as "hud", "hid", "hood", "heed", the generated Permutation will be (4,2,3,1). If you now select the String and the Permutation together and choose <a href="Strings___Permutation__Permute_strings.html">Permute strings</a>, the new Strings will have the strings ordered alphabetically as "heed", "hid", "hood", "hud". You can also sort the Strings alphabetically descending, by first <a href="Permutation__Reverse___.html">reversing</a> the elements in the Permutation before you select the Permutation and the Strings together. </p>
22 <hr>
23 <address>
24 <p>© djmw 20050721</p>
25 </address>
26 </body>
27 </html>