vb.net - Sorting textbox.text alphabetically -
vb.net - Sorting textbox.text alphabetically -
using vb.net
if textbox1.text = "example"
how textbox2.text show "aeelmpx"
as alphabetical sequence of letters?
declare string, , manipulate string im sure, im enthusiastic amateur @ best!
since string implements ienumerable(of char), can utilize code this:
textbox2.text = new string(textbox1.text.orderby(function(c) c).toarray()) vb.net string
Comments
Post a Comment