Display quotation marks inside a string?

Hi there,

I’m just trying to embed quotations inside a string - is there any way this can be done in CommCare Form Builder?

Best wishes,

Lu

The concrete example, I have is that I want to use the concat function to stick two single quotation marks around a numerical variable.

Hi Lu,

You can generally enter quotation marks into a string by alternating the type of quotation marks in use. IE: If you want a string with a single quotation mark in it, you can use double quotation marks to surround that string as follows (apologies for how hard to read this example is…)

concat("’", 4, “’”)

Does that meet your needs?

-Clayton

Okay, thanks. Yes, that’s great.