|
-
Dec 12th, 2009, 03:26 AM
#7
Thread Starter
Lively Member
Re: Richtextbox instance of string search
Private Function Processstring(ByVal strin As String) As String
Dim astrWords As String() = New String() {"parrot"}
Dim strOut As String = strin
Dim strWord As String
For Each strWord In astrWords
If strin.indexOf(strWord, 0) >= 0 Then
strOut = strWord
Exit For
End If
Next
Return strOut
End Function
just like that.. from that i will be expecting the function name: Processstring
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|