midb() Function
This function may not be compatible with all features of Appian. For details, see the Feature Compatibility section below.

Function

midb( text, start_num, num_bytes )

Returns a substring from the middle of the specified text.

Parameters

Keyword Type Description

text

Text

The text from which the substring will be extracted.

start_num

Number

The positional index in bytes of the first byte of the substring to be returned.

num_bytes

Number

The length in bytes of the substring to extract.

Returns

Text

Usage considerations

The first byte of the entire text value is considered to have an index = 1.

Examples

midb("boston",4,2) returns to

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Custom Record Field Expressions Compatible
Open in Github Built: Wed, Aug 10, 2022 (11:20:24 PM)

On This Page

FEEDBACK