Question:
What C# codes for string manipulation should I use for this?
anonymous
18 years ago
The running console application should be like this:

Input word/s:
Search for:

The are __ (what you've have typed from the 'search for' part)'s found.

It's like a Ctrl +f function.

When the user type a word and he/she is ask to search for any word, the new line would tell how many from what he/she have type are found when try to search for them.

Any string manipulation should I use or suggestions?

Thanks.
Three answers:
Sam
18 years ago
You should use "regular expressions" for programmatic searching... in any language, C#, C++, Visual Basic, Java... they all have it.



It will take a while to capture the concepts, but with a bit of effort you will suddenly have an epiphany (of sorts) and you'll want to use it for everything. I do...
aerokan a
18 years ago
Computer Tutorials, Interview Question And Answer

http://freshbloger.com/
Derek F
18 years ago
I concur with Sam's answer, have a look at the following...



http://msdn2.microsoft.com/en-us/library/hs600312(VS.80).aspx



http://msdn2.microsoft.com/en-us/library/ms228595(VS.80).aspx


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...