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
My laptop hp pavilion dv9000 suddenly doesnt start
Raid 1 Rebuild Failed - Adaptec 1210SA
DNS Server 2008 SBS errors
Delphi & TWebBrowser issue ???
switching networks on a cicso asa5510
How to set a MySql root user password that has not been set
Windows XP BSOD 0x000000f4 (0x00000003, 0x86e69b50, 0x86e69cc4, 0x805fb146)
WPAD setting for local webcams
PHP_sessions
Access 2007 - Query Question