Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace remore_characters_from_string
- {
- static void Main(string[] args)
- {
- string str = "Something @to ,Write.;';";
- str = string.Join("", str.Split('@', ',', '.', ';', '\''));
- Console.WriteLine(str);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment