VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



How to use VB's InStr with a String

by Michael L. Canejo (28 Submissions)
Category: String Manipulation
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

This example I put together teaches you how to use the InStr function with a string. InStr is very important to use because you can get certain information from a String by using it. Example: say a String has your first and last name in it like "Mike Canejo". InStr allows you to get just the last name or first name. First and Last name are just an example. You could do tons of things with Instr. This is very important for a beginner to know trust me. You'll be surprized if you end up using it in your next vb project :)

Inputs
String
Code Returns
A part of the string after a character specified

Rate How to use VB's InStr with a String

Download How to use VB's InStr with a String

Download How to use VB's InStr with a String (2 KB)

How to use VB's InStr with a String Comments

No comments have been posted about How to use VB's InStr with a String. Why not be the first to post a comment about How to use VB's InStr with a String.

Post your comment

Subject:
Message:
0/1000 characters