Mid

See Also: String Functions, Left, Pos, Right

Purpose

Mid returns a substring of specified length and position from the value of the input string.

Return Type

String

Syntax

(Mid( {string-value}, {length}, {position} ))

Where:

What It Does

 

Move (Mid("Data Access Corporation", 3, 6)) To sWord

In this example, the characters "Acc" are moved to the variable sWord.

Notes