How to write a " " " inside a coda formula?

So need to chain up:

<.a href=" + Link + " </a.>"

A normal html link looks like:

<.a href=“https://www.linkedin.com/”> Link text</a.>

So if i do:

<a href=“”“https://www.linkedin.com/”“”> Link text

I get an eror.

Anybody an idea?

Thx

Hi @Isebar_de1 - Here’s 2 ways to do it:

Escape double quotes using \

Concatenate("<A href=\"", Link, "\">This is a link></A>")

Use Single quotes for your strings
This allows you to use double quoties " without needing to escape them

Concatenate('<A href="', Link, '">This is a link></A>')

Also you can use the format function with allows you to have 1 string and define variables in the string and then add the values of the variables as arguments to the function.

Format('<A href="{1}">This is a link</A>', "http://coda.io")
1 Like

Thanks again @Ryan_Hubbard1

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.