Hi,
In one of my task i need to strip off zero from a string. In the following variable declaration :
var i = A010; (Alphanumeric format type which has 10 spaces)
i need to strip off zero between A and 1. i should not remove the zero which comes after 1.
By using IndexOf i can get the first occurance of zero from this.
Here if i use IndexOf it would be return me a value of 1. Whether i can check what is the value of this 1st position. If the 1st position value is zero i need to strip off it from the string.
How can i do it? Could you please help me out.
I know i can't get the actual code here. But i need a guidance like any other stuff is there like to get the value of a string in a position and also what can i do for a strip off a value from a string?
Thanks in adv
am