Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple way to return Chr(34)

Status
Not open for further replies.

M626

Programmer
Joined
Mar 13, 2002
Messages
299
Is there a way I can read in a line and returns the number of character in, on that line it finds Chr(34). You can do it in .Net with this but I dont' know how to do it in vb6?

Private Sub Form_Load()
Dim r As String
r = "The weather today is reasonably warm and sunny"
r = r.IndexOf("warm")

MsgBox (r)

End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top