I wish to know is there any code in C# to pick up predetermined characters from random input.
Suppose we say predetermined characters are "Address"
Random console input is 3545325Adggfdgdfgd3!@$@@#rsfssefas&*acs.
Program will realise there are A, d, d, r, e, s, and s letters in it and pick up and return it.
Loading
Sunny SharmaPosted Sep 7, 2013, 6:20 AM
How about doing it this way:
-------------------------------------------------------------------
Posted Sep 7, 2013, 7:22 AM
Modification is character must be the i/p from the keyboard. Which is
string inputStr = Console.ReadLine();
Sunny SharmaPosted Sep 7, 2013, 7:15 AM
Posted Sep 7, 2013, 7:12 AM