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
454 5.7.3 Client does not have permission to submit mail to this server
combo box won't hold default value
Fortigate 60 - Webfiltering - allow some users
Our site is #17 on Google in its region for its keyword, how to get closer to top? Hire SEO?
Dell Inspiron 1012 - Multimedia Controller Driver
Imaging a RAID Setup to a Non-RAID Disk
Windows 2003 DC, want to install DNS but setup fails on missing file(s). (dnsperf.h)
epson tm-p2.01
Unable to access OWA
GPO Software Installation Based Upon Hardware