#### Mid

##### Mid(String a, Number b)

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

Parameters

- a - A String value to be extracted.
- b - A BigInt value indicating the position of the first character to extract.

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

- a - A String value to be extracted.
- b - A BigInt value indicating the position of the first character to extract.
- c - A BigInt value indicating the number of characters to be extracted from String a.

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)`