Name

Mid Statement

Synopsis

Mid(target, start[, length]) = string
target required; String

The name of the string variable to be modified

start required; Long

The position within target at which the replacement commences

length optional; Long

The number of characters in target to replace

string required; String

The string used to replace characters within target

Description

Replaces a section of a string with characters from another 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.