Siebel Sales Handheld Guide > Print Tagging Language > Data Manipulation and Logic Tags >
Concat Tag
The Concat tag appends or prepends a value to a string stored in a variable. Usage
Use the Concat tag to combine string variables or simple string texts. The resulting (concatenated) string is stored in the original variable specified. Syntax
<TAG:CONCAT variable= "VARIABLE NAME" prepend="PREPEND" append="APPEND">
|
|
TAG:Concat |
(Required) Applet tag indicator. |
variable |
(Required) Name of the variable to be appended or prepended. The resulting string is stored in this variable |
prepend |
(Optional) Specifies whether to add a simple text string or variable in front of an existing stored variable. The variable must be specified in the form "<variable>name of variable". Prepend is required if Append is not specified. |
append |
(Optional) Specifies whether to add a simple text string or variable to the end of an existing stored variable. The variable must be specified in the form "<variable>name of variable". Append is required if Prepend is not specified. |
Example
The following example sets the variables var_equal and var_criteria, then appends var_criteria and prepends a simple text string to var_equal. The concatenated string is stored in var_equal: <TAG:SetVariable variable="var_equal" name="="> <TAG:SetVariable variable="var_criteria" name=" 'Good' "> <TAG:Concat variable="var_equal" prepend="\"status\" " append="<variable>var_criteria">
|