string s = myRichTextBox.Text; string[] parts = s.Split('&'); int value = 0; if (int.TryParse(parts[0], out value)) { value /= 6; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)