pc.c
Concatenates elements to form output.
Syntax
celement{;element...} celement{/*} celement{xelement}{...}
Description
concatenates elements for output.
Each element may be delimited by a character to appear on output. The ';' (semi-colon) has a special meaning; it does not appear on output.
The elements can be:
- Numeric constants, enclosed in quotes.
- An Attribute position, referenced by its numeric attribute count.
- An alphanumeric character string enclosed in quotes, double quotes, or backslashes. When delimited by semi-colons, strings must be enclosed in quotes. Otherwise, alphanumeric strings are not separated from the other entries by semi-colons (;).
- '*' (asterisk). The asterisk is a special character used to concatenate the resulting value from the last processing code operation.
In the third form listed under syntax, the 'x' specifies the separator to appear between the concatenated elements. The separator may be any non-numeric character including a blank or semicolon, but cannot be a system delimiter. The semicolon is a special separator that specifies the elements are to be concatenated with no separation.
Example
c;3;', ';4;' ';5
Concatenates the current item's value of attribute three with a comma and
a blank, attribute four, a space, and attribute five.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
