--- title: "resolve-var-syntax()" slug: "string-resolve-variable-syntax" updated: 2026-08-17T08:10:26Z published: 2026-08-17T08:10:26Z canonical: "docs.lobstersoftware.com/string-resolve-variable-syntax" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # resolve-var-syntax() This function replaces all variable placeholders (several possible) like *@MY_VAR@* in string **a** with the value of the variable(s) if the variable is defined in the Profile (otherwise not). If the variable value itself again contains a variable placeholder of the form *@VAR_NAME2@*, the function must be called again with the return value of the first call to guarantee the resolution of the variable placeholder contained in the value. If the resolution is already done in the first call, it would be random (cannot be guaranteed). ## Parameters | Parameter | Description | | --- | --- | | a | Text containing the variable placeholders(s). | | b | (optional) *true* to resolve date and time [File names, file patterns, paths, placeholders](/v1/docs/en/intro-concepts-files-names-patterns) like ** or ** as well. Default: *false*. | ## Examples | Parameter a | Parameter b | Result | Comment | | --- | --- | --- | --- | | Hello world! | anything | Hello world! | No replacement needed. | | Hello @VAR_SAMPLE@! | anything | Hello world! | If *VAR_SAMPLE* is defined and has the value *world.* | | @VAR_GREETINGS@ @VAR_SAMPLE@! | anything | Hi all! | If *VAR_GREETINGS* is defined and has the value *Hi* and *VAR_SAMPLE* is defined and has the value *all.* | | @VAR_GREETINGS@ @VAR_SAMPLE@! | anything | Hi @VAR_SAMPLE@! | If *VAR_GREETINGS* is defined and has the value *Hi* but variable *VAR_SAMPLE* is not defined. | | Current time is: : | true | Current time is: 14:12 | If the current time is *14:12*. | | Current time is: : | false | Current time is: : | No support of date and time placeholders. | A profile is the central configuration unit in the Lobster Data Platform. It receives data, processes it, and forwards it. Configuration is done graphically, with no programming required.