VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Pick out Specific Parts of a String with Six Lines of Code. Each Line is Well Commented, E-mail me

by Anaru Hartley (3 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 16th August 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Pick out Specific Parts of a String with Six Lines of Code. Each Line is Well Commented, E-mail me your Comments or Questions.

API Declarations


Dim O 'Declare Ouput
Dim L 'Declare Length

Rate Pick out Specific Parts of a String with Six Lines of Code. Each Line is Well Commented, E-mail me



L = Len(S) 'Get String Length
O = Mid$(S, 5, 1) 'Get X Chars Starting from Char X from S
MsgBox O, , "" 'Display Ouput as Message Board

Download this snippet    Add to My Saved Code

Pick out Specific Parts of a String with Six Lines of Code. Each Line is Well Commented, E-mail me Comments

No comments have been posted about Pick out Specific Parts of a String with Six Lines of Code. Each Line is Well Commented, E-mail me . Why not be the first to post a comment about Pick out Specific Parts of a String with Six Lines of Code. Each Line is Well Commented, E-mail me .

Post your comment

Subject:
Message:
0/1000 characters