What do I have to do to sort strings properly in Listbox?
古いコメントを表示
Hi,
While I try to figure this out, I have problems again..
To sort strings in listbox,
e.g.,I have strings below! 'p1' 'p2' 'p10' 'p12' 'p21'
To sort those strings, I tried to use sort(),
and then, result was like this..
'p1' 'p10' 'p12' 'p2' 'p21'
%%%% :-( %%%%
But, I want to sort A as, 'p1' 'p2' 'p10' 'p12' 'p21'
What do I have to do for this?
I'm looking forward to your answer!
5 件のコメント
Geoff
2012 年 6 月 25 日
Hey Haksun Lee... I answered your question with code, and then you deleted the question. If you think I'll answer it again, you're mistaken.
Walter Roberson
2012 年 6 月 25 日
Geoff, if you answered the copy of the question that was posted about half an hour ago, then I'm the one who deleted that question. There were no responses at the time I looked, but it could be that an answer of yours came in between the time I loaded the question and the time I hit the delete.
Haksun Lee
2012 年 6 月 25 日
Geoff
2012 年 6 月 25 日
Oh... probably... Meh, well, I'll stop being a grump and hack it out quickly again.
Haksun Lee
2012 年 6 月 25 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Language Support についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!