Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- namespace _04SentenceSplit
- {
- public class SentenceSplit
- {
- public static void Main(string[] args)
- {
- var inputString = Console.ReadLine();
- var delimiter = Console.ReadLine();
- var output = inputString.Replace(delimiter, ", ");
- Console.WriteLine("["+output+"]");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement