The easiest way is to call
myStream.TrimStart('0');
please see:
http://msdn.microsoft.com/en-us/library/system.string.trimstart.aspx[
^].
However, in's important to understand that you cannot remove anything from a string, as strings are
immutable. All string methods "modifying" string actually don't modify any string object, they create a brand new string with appropriate content.
—SA