| Cfare ju duhet te dini? |
|
#1
| ||||
| ||||
| I was wondering what the button click form would look like for this..thanks so much!! Write a function called RestofString that accepts two parameters. The first is the String to be processed. The second, is a String to search for within the first String. If the String is found, return a String containing the remainder of the String after the first occurrence of the search String. If the String is not found return an empty String. Therefore, if RestofString is called with "Hello, I must be going" and "I", the function will return " must be going". Private Function RestOfString(ByVal strWholeString As String, _ ByVal strSubString As String) As String Dim intLocation As Short intLocation = InStr(strWholeString, strSubString) Return (Mid(strWholeString, intLocation + Len(strSubString))) End Function
__________________ Yahoo! Answers 4ever |
![]() |
| Bookmarks |
| Tags |
| basic, easy, questionthanks, visual |
| Alternativa Teme | |
| Vleresojeni kete Teme | |
|
|
Tema te ngjashme | ||||
| Tema | Filluesi i temes | Forumi | Pergjigje | Postimi i Fundit |
| visual basic? | chris b | Computers & Internet | 0 | 26-12-2007 15:44 |
| easy trig question, I need help? | rewonderland | Science & Mathematics | 0 | 26-12-2007 10:26 |
| What is the password to Visual Basic 6 [SIX]? | ethan p | Computers & Internet | 0 | 31-07-2007 07:23 |
| EASY visual basic question...Thanks!!? | gman4free | Computers & Internet | 0 | 18-07-2007 10:49 |
| EASY question-visual basic!!? | gman4free | Computers & Internet | 1 | 18-07-2007 08:02 |