
-----------------------------------
Blade
Tue Mar 25, 2003 4:21 pm

rearranging strings
-----------------------------------
if a user inputs a word... how can you rearrange it... as an example... a user inputs "snake", how could i change the letters around however i want?

-----------------------------------
Tony
Tue Mar 25, 2003 5:30 pm


-----------------------------------

for i:1..length(word)
letter(i):=word(i)
end for


where word is word and letter() is an array of string(1).

then you can just rearange array items  :D
