I wrote a tiny programme in VB.NET using VS.NET 2008 to sort numbers.
I take the input of numbers separated by commas from TextBox1.text, play some algorithm then by clicking a button, display the sorted values in TextBox2.text.
NOW i want to restrict the numbers to be only 20 positions (eg. 32,1,6,32,12,21,21,54,675,8,4,3,2,9,0,21,21,21,43,744) in the TextBox1.text and so i thought of counting the commas :laugh:
Can I do that, how? OR is there any better way to achieve this?