Help Please!!!!

BASICBEGINNER

Newcomer
Joined
May 14, 2008
Messages
1
Create a Find String application that displays the first position
of a word or phrase in another word or phrase. Use text
boxes to prompt the user for a string and a search substring.
The application interface should look similar to that shown on
the right after typing the strings and clicking Find String.

HELP PLEASE!!!! I AM A BEGINNER!
 
We aren't going to write the program for you. You're going to have to try yourself and/or ask more specific questions.
 
Look into the following methods to locate the different occurances of strings within another string.
C#:
String.IndexOf();
// and
String.IndexOfAny();

In C# there is no "input" dialog, so it'd be the most simple to use another textbox on your form. Or use the following VB code

Visual Basic:
Dim sResult as String = String.Empty
sResult = Input("Title", "Message")

As for application interface your on your own -- the designer is pretty easy to use once you load it and spend five minutes with it.

That is all the information I can provide based on your vague question.
 
Back
Top