I am wanting to sort a list alphabetically.
Example:
Code: Select all
set mylist "benny alan ryan sarah rosey arnold adrian jessica"
Code: Select all
set mylist "adrian alan arnold benny jessica rosey ryan sarah"
And one more, question.
What is the difference between 'lsearch' and 'string match'?
They both give the same type of matching procedure is it?
I am not clear with lsearch, I know about string match though.