mid(
TEXT
,
START
,
LENGTH
)

The mid( function extracts characters from the middle of the text.


Parameters

This function has three parameters:

text – original text.

start – starting point for text to extract (starting from 1)

length – number of characters to extract.


Description

This function extracts one or more characters from the middle of the text. For example mid(text,6,4) extracts four characters starting with the sixth character.

mid("abcdef",3,1) ☞ c
mid("abcdef",2,3) ☞ bcd
mid("abcdef",2,8) ☞ bcdef

Note: This function is equivalent to:

text[start;len]

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.