It is currently Sun Jan 29, 2023 3:22 pm

Blogger Concatenate Operator

Blogger Concatenate Operator

Post: #1

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.

Login

|

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 239 on Mon Dec 26, 2022 4:40 am

Statistics

Total posts 4 • Total topics 3 • Total members 1 • Our newest member admin