Documentation Center

String operands

String operands can be any literal string (enclosed in single or double quotes), any variable that represents a string (does not require delimiters in this context), any function call that returns a string, or any combination of these, concatenated using the + operator.

For example, "<h2>" + Component.Title + '</h2>' is a concatenation of the literal string <h2>, the variable Component.Title, and the literal string </h2>.

For example, the following are all valid string operands:

  • Component.Title
  • Page.Title + ": " + Component.Title
  • "<p>" + RenderComponentPresentation(Component.ID, "tcm:4-88-32") + "</p>"