Search Tools Links Login

How to use VB's InStr with a String


Visual Basic 6, or VB Classic

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 :)

Original Author: Mike Canejo

Inputs

String

Returns

A part of the string after a character specified

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 86 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD4501432000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 2,580 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.