NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Mid Statement

Replaces a specified number of characters in aString variable with characters from another string.

Mid(stringvar, start[, length]) = string

Arguments

stringvar
Required. Name of string variable to modify.
start
Required; Long. Character position in stringvar where the replacement of text begins.
length
Optional; Long. Number of characters to replace. If omitted, all of string is used.
string
Required. String expression that replaces part of stringvar.

Remarks

The number of characters replaced is always less than or equal to the number of characters in stringvar.

See Also

Example

Mid Function