Name

Mid Function — Microsoft.VisualBasic.Strings

Synopsis

Mid(str, start[, length])
str required; String

The expression from which to return a substring

start required; Long

The starting position of the substring

length optional; Long

The length of the substring

Return Value

String

Description

Returns a substring of a specified length from a given string.

Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.