Does VBScript have a substring () function? - Stack Overflow
https://stackoverflow.com/questions/2223287/does-vbscript-have-a-substring-function
WEB2 Answers. Sorted by: 89. Yes, Mid. Dim sub_str. sub_str = Mid(source_str, 10, 5) The first parameter is the source string, the second is the start index, and the third is the length. @bobobobo: Note that VBScript strings are 1-based, not 0-based. Passing 0 as an argument to Mid results in "invalid procedure call or argument Mid".
DA: 99 PA: 26 MOZ Rank: 17