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

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -