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
Modify Excel VBA to include a range of cells
Php concanation text
WordPress - header and footer navigation has suddenly dissappeared
MySQL data need to "replace" CRLF
How to reset PHP Session Handler to default
Installing SSL cert on Exchange 2007
Domain rename prior to consolidation
server raid6
DNS Event ID's 4010 & 4013
Disable SID Filtering in a Windows 2000 domain