string maskStr = "123-456-789-444"; int count = maskStr.Split('-').Length - 1; string[] masks = new string[count]; masks = maskStr.Split('-'); label1.Text = masks[1];
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)