Changes

Jump to: navigation, search

Working with Strings in Visual Basic

5 bytes added, 14:53, 2 August 2007
Searching for a Substring
The Visual Basic ''Instr()'' function accepts one optional, and two mandatory parameters. The function is a little odd in that it is the first parameter which is optional (most other function always make the first parameter mandatory). The syntax for using ''Instr()'' is as follows:
'''Instr(''' [''start position''], ''string'', ''substring'' ''')'''
The parameters accepted by ''Intr()'' are as follows:

Navigation menu