Mid() Function in VB Script?

Mid: Returns a specified number of characters from a string.

Syntax: Mid(string, start[, length])

Ex:
str="Sample Test"
Msgbox mid(str,1,6) ‘Returns "Sample"

Subscribe to TestingQ.Net

To receive daily posted Interview Questions
Just enter your email address below and click 'Subscribe'

Enter your email address: