Concat JavaScritp

Avatar

Avatar

abdelkarimg3379

Avatar

abdelkarimg3379

abdelkarimg3379

22-03-2018

Hi

how can i concatenate a string in javascript?

I used this:

      <Where>

        <condition expr = {"@ idEmail = '+ content. @ name +'"} />

      </ Where>

it does not work

Abdelkarim

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

kapilsharma0101

Avatar

kapilsharma0101

kapilsharma0101

22-03-2018

Hi,

Use this like :

      <Where>

        <condition expr = {"@ idEmail = ' "+content. @ name+" ' "} />

      </ Where>

Regards,

Kapil Sharma

Answers (4)

Answers (4)

Avatar

Avatar

kapilsharma0101

Avatar

kapilsharma0101

kapilsharma0101

23-03-2018

Yes correct, if you are using the Order By Clause and using sortDesc = "false", it will sort in ascending manner.

Avatar

Avatar

abdelkarimg3379

Avatar

abdelkarimg3379

abdelkarimg3379

23-03-2018

Hi,

sortDesc = "false" does this mean that it is an ASC type sort?

Abdelkarim

Avatar

Avatar

kapilsharma0101

Avatar

kapilsharma0101

kapilsharma0101

23-03-2018

Hi,

No, there is no ASC attribute. You have to use the DESC attribute for both Ascending And Descending Sort.

Avatar

Avatar

abdelkarimg3379

Avatar

abdelkarimg3379

abdelkarimg3379

23-03-2018

thank you it works

To apply a sort of ASC type is enough to put the attribute shortDesc = "true" To false?

Or there is a sort Asc attribute = "true"