I have a string which i need to increment by 1 The string has both characters and numeric values.
The string layout i have is as follows \"MD00494\"
How woul
You can use regex:
int kod = int.Parse(Regex.Replace(sdesptchNo, "[^0-9]", "")) + 1; string zeroStr=Regex.Replace(sdesptchNo, "[^0-9]", ""); string newZeroStr=""; for (int x=0;x
UPDATED: This will save your zero