string input ="BOO-45"; string[] parts = input.Split('-'); int number =Int32.Parse(parts[1]) +5; string result = parts[0] + "-CC-" +number.ToString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)