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 based on 1, not 0. Passing 0 as the Mid argument results in an โinvalid procedure call or Mid argumentโ.
Tmdean Feb 08 '10 at 16:58 2010-02-08 16:58
source share