Microsoft
Software
Hardware
Network
Question : Returning Parts of String Variables in VB
I’m really new to Visual Basic and can’t find a particular string function. In Pascal, if I wanted to test the first three characters of a string, I could use the Copy command as follows:
AString:='Washington';
BString:=Copy(AString,1,3)
;
In this example, BString would be “Was” because the Copy function as used in the example returns three characters of AString starting at character position 1.
Is there a similar function in VB that I can use to return parts of strings?
Answer : Returning Parts of String Variables in VB
Or, more flexibly:
Bstring = Mid(Astring, 1, 3)
Random Solutions
How to print logos on Epson T88IV
CSS issue with hidden menu drop downs
Self signed SSL certificate for Outlook Anywhere & OWA - Exchange 2010
How do I see what traffic is traversing my Cisco 2811 router?
Anyone knows what this fruit is called in english and if I can buy it in the USA somewhere even online
Hosted AD Domain Service - a best practice ?
Compare two excel files
What can be done with huge files that cannot be defragmented?
CSS wrong MIME type in Firefox on Apache, AddType text/css .css is there
Where are mappings for XML files set inside of Eclips