Re: String in VB
- From: "Jay B. Harlow [MVP - Outlook]" <Jay_Harlow_MVP@xxxxxxx>
- Date: Wed, 3 Aug 2005 14:00:00 -0500
AT,
| Any references to documentation where this is written?
| Please, it is important for me
Yes, Armin told you where:
| > This is a special VB.Net syntax for historic
| > reasons (see <F1>).
<F1> means place your cursor on the Mid statement & press the F1 key on your
keyboard.
Alternatively you can find info on the Mid statement at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vastmMid.asp
Hope this helps
Jay
"AT" <anatoli@xxxxxxxxxx> wrote in message
news:ejoATyFmFHA.1044@xxxxxxxxxxxxxxxxxxxxxxx
|
| >> Mid then would not not have changed the st variable
| >> unless the new string is created and st is assigned a new instance
within
| >> the Mid
| >> but I do not understand how this is possible since MID does not get
"CC"
| >> as one of its parameters.
| >
| > ?
| > "CC" is the value you assign. This is a special VB.Net syntax for
historic
| > reasons (see <F1>). As you see, this is not the usual syntax. How can a
| > function be the destination of an assignment? Well it's not a function,
| > it's... it's... a "VB special". It's internally translated to a usual
| > procedure call where "CC" is one of the arguments.
| >
| > I would never use the Mid statement anymore because it pretends to
change
| > the content of the string.
| >
| >
| > Armin
|
| Any references to documentation where this is written?
| Please, it is important for me
|
| Thanks
|
|
.
- References:
- String in VB
- From: AT
- Re: String in VB
- From: Armin Zingler
- Re: String in VB
- From: AT
- Re: String in VB
- From: Armin Zingler
- Re: String in VB
- From: AT
- String in VB
- Prev by Date: Re: String in VB
- Next by Date: Re: Form Reference Question (Getting Back Your Visual Basic 6.0 Goodies)
- Previous by thread: Re: String in VB
- Next by thread: Re: String in VB
- Index(es):
Relevant Pages
|