Mid

Mid(String a, Number b)

This function returns a number of characters from a specified position of a String.

Parameters

Return value

The return value is a String.

Example

The return value of the following statement is my father.

Mid("he is my father", 6)

Mid(String a, BigInt b, BigInt c)

This function returns a specified number of characters from a specified position of a String.

Parameters

Return value

The return value is a String.

Example

The return value of the following statement is father.

Mid("he is my father", 9, 6)