vb, visual basic, vb6, use left, right, mid in string, how to use left, right, mid in string, how to use trim left, right, mid
(Website Helper) left, right, mid Number of Visitors: Site Map

vb: how to use left, right, mid, trim in string?



Website Design
Website Promotion
Graphic Design
Programming
Free Software
Computer Tips
Discount Stores
This site provides users with the information about vb, visual basic, vb6, use left, right, mid in string, how to use left, right, mid in string, how to use trim, and more.

If you think that this site is helpful, please recommend your friends to visit our site.



How to use left, right, mid in a string?

The following is the code for how to use left, right, mid, trim in a string:

1. Left:


s = left("string", 2) "s" shows "st"
2. Right:


s = Right("string", 2) "s" shows "ng"
3. Mid:


s = mid("string", 2, 3) 'starting from 2nd char "s" shows "tri"
Note:

If the string has the leading or end spaces, you can use the Trim function to remove them before using Left, Right, and Mid function. For example, Trim(" string").

(Website Helper) left, right, mid (c) EduSoftMax - www.edusoftmax.com