merge | ||||||||||
Type | function | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Summary | Evaluates any expressions in a string, replaces them with their value, and returns the transformed string. | |||||||||
Introduced | 1.1 | |||||||||
OS | mac, windows, linux, ios, android | |||||||||
Platforms | desktop, server, mobile | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Values |
| |||||||||
Related | Keyword: string Function: value Glossary: statement, evaluate, return, expression Control Structure: return, function | |||||||||
Description | The merge function Evaluates any expressions in double square brackets, and replaces them with the expression's value. It also executes any return statements enclosed in "<?" and "?>", and replaces them by the value returned. |