Howdy,

I've got an array with a fixed size ( Public Buffer(10000) As Byte )..How would I figure out how many characters are actually in it (.Length returns the size of the array).

Intrestingly enough, If i convert it to a string:

Dim str As String = System.Text.Encoding.ASCII.GetString(Buffer)

str.Length also returns the size of the buffer array, so I guess another question would be how to get the number of characters in that string.

Thanks in advance,
FireRabbit