I have the following:
if (((strYr.charAt (0)<="0") || (strYr.charAt(0 )>="9")) && strYr.length>1)
strYr=strYr.sub string(1);
I am trying to take any blanks out of the year.
but if "strYr = 05", it takes out the 0??????
Is there something wrong with this statement?
Thanks,
Tom
if (((strYr.charAt (0)<="0") || (strYr.charAt(0 )>="9")) && strYr.length>1)
strYr=strYr.sub string(1);
I am trying to take any blanks out of the year.
but if "strYr = 05", it takes out the 0??????
Is there something wrong with this statement?
Thanks,
Tom
Comment