@all of title .lenght

Comments

20 comments

  • Teresa Cutrona

    I solved put + 0 at the end of formula

     

     

    0
    Comment actions Permalink
  • Adrien BLAISE

    You can use `@All of Title.length || 0`.

    0
    Comment actions Permalink
  • Teresa Cutrona

    Yes , thank you.. it works.

    Now I would like to filter calculation , for example:

    I used this :@All of address.join("\n") , but I Need that the calculation give me only city and not  other information, how can I do it?

     

     

    0
    Comment actions Permalink
  • Adrien BLAISE

    What's the address field type?

    0
    Comment actions Permalink
  • Teresa Cutrona

    I just want to show: città

    0
    Comment actions Permalink
  • Adrien BLAISE

    There must be a cleaner way, but you can try:

     

    `@All of Sede Legale.join().split(",")[1].replace(/[0-9]/g, '"").trim()`

    0
    Comment actions Permalink
  • Teresa Cutrona

     not works.

    Why? 

    0
    Comment actions Permalink
  • Adrien BLAISE

    Post the full screenshot. Did you remove the final back tick?

    0
    Comment actions Permalink
  • Teresa Cutrona


    what am I doing wrong?

    0
    Comment actions Permalink
  • Adrien BLAISE

    Remove the final back tick.

    0
    Comment actions Permalink
  • Adrien BLAISE

    Use this:

     

    @All of Sede Legale.join().split(",")[1].replace(/[0-9]/g, '"").trim()

     

    (I thought markdown was supported here, but it seems it's not anymore)

    0
    Comment actions Permalink
  • Teresa Cutrona

    nothing!

    :(

    0
    Comment actions Permalink
  • Adrien BLAISE

    What do you mean “nothing”?...

    Post a screenshot please...

    Use the last line of code I provided:

     

     

    @All of Sede Legale.join().split(",")[1].replace(/[0-9]/g, '"").trim()

     

     

    0
    Comment actions Permalink
  • Teresa Cutrona


    still not works. 

    0
    Comment actions Permalink
  • Adrien BLAISE

    There was a typo in there.

     

    Use this:

     

    @All of Sede Legale.join().split(",")[1].replace(/[0-9]/g, "").trim()

     

     

    0
    Comment actions Permalink
  • Teresa Cutrona

    I use this formula:

    var stringa = @All of Sede Legale.join();
    var array = stringa.split(",");
    array[2].trim();

    so now this is the result: 
    I can't take just "città", I don't know why



    0
    Comment actions Permalink
  • Adrien BLAISE


    @All of Sede Legale.join().split(",")[1].replace(/[0-9]/g, "").trim()

    0
    Comment actions Permalink
  • Adrien BLAISE

    It works here:

     

    0
    Comment actions Permalink
  • Teresa Cutrona

    he give me, Italy not city.

    0
    Comment actions Permalink
  • Adrien BLAISE

    Post a screenshot of your Location field.

    Try this:

    @All of Sede Legale.join().split(",")[2].replace(/[0-9]/g, "").trim()

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk