Latest news, food, business, travel, sport, Tips and Tricks...

Blogger Concatenate Operator

Concatenate Operator with symbol plus + .This operator used in the operation of joining two strings together. The symbol is same as Addition operator which is part of Arithmetic operator.

BLOGGER CONCATENATE SYNTAX

"STRING" + "STRING"

BLOGGER CONCATENATE EXAMPLE

<h1 >

  <a expr:href='data:blog.url'>

    <b:eval expr='"[Foo] " + data:blog.pageTitle + " Bar"'/>

  </a>

</h1>

RESULT

[Foo] BlogTITLE Bar

In the sample operation above we give string "[Foo] " and "Bar " at the tail with extra space. The character we want to add must be wrapped in DoubleQuote ", including the number, because by giving double quotes it means that the character type is STRING.

,
//