ExpandBindVar

Mon 01 January 2018

Syntax

ExpandBindVar(str)

Description

Inline bind variables can be included in any PeopleCode string. An inline bind variable is a field reference (in the form recordname.fieldname ), preceded by a colon. The inline bind variable references the value in the field.

Use the ExpandBindVar function to expand any inline bind variables that it finds in str into strings (converting the data type of non-character fields) and returns the resulting string. This works with inline bind variables representing fields containing any data type except Object. It also expands bind variables specified using additional parameters.

See .

Parameters

Field or Control

Definition

str

A string containing one or more inline bind variables.

Returns

Returns a String value equal to the input string with all bind variables expanded.