Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string str2 = "^0^1^2^3^4^5^6Cool";
- private void simpleButton1_Click(object sender, EventArgs e)
- {
- for (int i = 0; i < str2.Length; i++)
- {
- if (str2.Contains("^"))
- {
- str2 = str2.Remove(str2.IndexOf("^"), 2);
- }
- labelControl4.Text = str2;
- }
- }
Add Comment
Please, Sign In to add comment