|
-
Nov 13th, 1999, 09:16 PM
#1
Thread Starter
Hyperactive Member
Hi,
I am having a little trouble using the InStr function. I don’t have a clue how to use it? I was making a program that found the “ – “ in the title bar and added some text to the right of it. How would I do this? I tried this statement:
Dim intFound As Integer
intFound = InStr(form1.Caption, “ – “)
Form1.caption = Left$(Form1.Caption, intFound) & Text1.Text
For some reason this is not working. Could you please tell me the correct statement and explain is it is not too much bother.
Thanks
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
|