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
Transport-level error / (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
Outlook business Card
How can i assign an admin to Joomla installation
APEX custom user password edit
find button
Getting IIS7 to Show Friendly Error Messages in ASP
Preserving MS Word settings
Deploy RemoteApp MSI using GPO
Block access to a single website - Software Resttriction Policies
Exchange server on 2 different domains