serge calderara
04-07-2004, 06:04 AM
Dear all,
I have a string represented as follow:
myString =" Hello"
This string is retrive from a byte array by using following code:
myString = asci.GetString(bData, 0, 8) where bData is an array of byte.
I need to remove character in front of Hello for that I use:
myString.Trim() which is suppose to remove space.
In my byte array, the value of those trim character is 32 whcih is representating a space.
My space character are not removed after trim function is call, what I am doing wrong?
I have a string represented as follow:
myString =" Hello"
This string is retrive from a byte array by using following code:
myString = asci.GetString(bData, 0, 8) where bData is an array of byte.
I need to remove character in front of Hello for that I use:
myString.Trim() which is suppose to remove space.
In my byte array, the value of those trim character is 32 whcih is representating a space.
My space character are not removed after trim function is call, what I am doing wrong?