KB-32719: Extracting characters from the left or from the right with VBScript
Question:
How can I extract a certain amount of characters from a script's left or right? Should I use VBScript's Mid function, or is there another way?
Solution:
There is no need to use Mid function for this: VBScript has two functions, called Left and Right, which are responsible for extracting characters from the string's left and right, respectively. Just pass the string and the number of characters to be extracted.
For further information, please refer to VBScript's Manual.
Related Articles
No related articles were found.
Attachments
No attachments were found.
Visitor Comments
No visitor comments posted.
Post a comment
Post Comment for "KB-32719: Extracting characters from the left or from the right with VBScript"
To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.