Salesforce

MID (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

MID (Magic xpa 4.x)

Extracts a specified number of characters (a substring) from an Alpha string.

Syntax:

MID(string,start,length)

Parameters:

string: Input Alpha string
start
: Number representing the starting position of the substring within the string.
length
: Number of characters to be extracted; i.e., length of substring.

Example:

MID('John',3,2) returns 'hn'

See also:

Left, Right

The Online and Rich Client Samples projects (program ST09 and RST09)

Reference
Attachment 
Attachment