Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request for a sample to learn from
#2
OK, I have managed to design a member function which performs an alphabetical sort and returns the string to the macro. This seems to work fine.
I need to read up on Functions/member Functions to find which type is more suitable.
Anyway I still need to come up with a method of altering the case of the words in the list.

Member function str.listSort
Code:
Copy      Help
/
function str&inputString
ARRAY(str) sortArray=inpString
,sortArray.sort(2)
,out sortedArray
inpString=sortArray
out inpString


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)