A string is given, composed of several forbidden words separated by commas. Also a text is given,
Fantastic news! We've Found the answer you've been seeking!
Question:
A string is given, composed of several "forbidden" words separated by commas. Also a text is given, containing those words. Write a program that replaces the forbidden words with asterisks. Sample text:
Microsoft announced its next generation C# compiler today. It uses advanced parser and special optimizer for the Microsoft CLR. |
Sample string containing the forbidden words: "C#,CLR,Microsoft".
Sample result:
********* announced its next generation ** compiler today. It uses advanced parser and special optimizer for the ********* ***. |
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: