M
Mike P
If I want to get the last 4 characters of a string is this the right way
to do it?
int intCardLength = Convert.ToInt32(strCardNumberUnEnc.Length);
strCardNumberUnEnc = strCardNumberUnEnc.Substring(intCardLength -
4, 4);
Or is there stuff (Length, Substring) that is zero-indexed that will
mean I need to take account of?
to do it?
int intCardLength = Convert.ToInt32(strCardNumberUnEnc.Length);
strCardNumberUnEnc = strCardNumberUnEnc.Substring(intCardLength -
4, 4);
Or is there stuff (Length, Substring) that is zero-indexed that will
mean I need to take account of?