 |
Bay Six Software Beyond the Basics
|
View previous topic :: View next topic |
Author |
Message |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 792
|
Posted: Jan 22nd, 2012, 5:51am Post subject: InStr_function |
|
|
Code: | ***** 19-Jan-2012
InStr(string,substring[,start])
***** 21-Jan-2012
InStr(string,substring[,[start][,insensitive]])
***** |
_________________ Brent |
|
Back to top |
|
 |
Brent Site Admin
Joined: 01 Jul 2005 Posts: 792
|
Posted: Jan 22nd, 2012, 5:53am Post subject: Re: InStr_function |
|
|
Code: | ***** 19-Jan-2012
Optional integer expression. Specifies where to start within string.
***** 21-Jan-2012
Optional integer expression. Specifies where to start within string.
Defaults to 1.
insensitive
Optional Boolean expression. Specifies whether letter case is
significant. Defaults to False (i.e., case-sensitive).
Remarks
Positions within strings are one-based, meaning that the index of the
first character is 1, the second is 2, etc.
If string does not contain substring after the given start, the function
returns zero.
For more readable code, the constant CaseIns can be used to make
comparisons case-insensitive.
***** |
_________________ Brent |
|
Back to top |
|
 |
|
|
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|