In other languages, you can include quotation marks in a text string by surrounding the string with the opposite marking, i.e. single quotes around double quotes, or double quotes around single quotes. Appsheet does not seem to like this. Iโm trying to use 6", as in โsix inchโ, in an expression. Iโve tried โ6"โ, text(6"), text(โ6"โ), to no avail. Is Appsheet capable of handling this, and if so, how?
Specifically Iโm trying to see if 6" is in a list of text items: IN( text(6") , [column])
Solved! Go to Solution.
AppSheetโs formulas try to follow the conventions set by Excel formulas. In this case, you can escape a double quote by doing a double double quote. Confused? Hereโs an example:
IN("6""", [Column])
AppSheetโs formulas try to follow the conventions set by Excel formulas. In this case, you can escape a double quote by doing a double double quote. Confused? Hereโs an example:
IN("6""", [Column])
Gotcha, thanks. Didnโt know that about Excel
what about json templatesโฆ
This function adds a backslash before โโ double quote
@mustafa AppSheet will automatically escape quotes in your values in a JSON template. So if you do something like this:
{"text": "<<Some Column>>"}
and Some Column has the value "Hello," he said.
it will be rendered as:
{"text": "\"Hello,\" he said."}
Hi,
I am having hard time wrapping my column values into double qoute:
I always get error on parsing it.
Looking for your help.
Thank you.
Regards,
What exactly is the output you are hoping for here?
It looks like you might be trying to dynamically change the looked-up column based on a value in the current row. Iโm not 100% sure, but I donโt think youโll be able to do this, as it wonโt pass the expression assistant without an error, column names must be actual column names.
Thanks @Marc_Dillon ,
Thatโs exactly what I want. I want to dynamically past on the parameters on the LOOKUP function. If I did this, there weโre no errors as expected:
But that โLopez Sugar Corporationโ is in the Combobox [@ column Millers]. So basically, what I want is, based on the selected value on the combobox, I want to look up the value on the separate table. Will this be possible?
Regards,
I believe youโll have to explicitly specify each possiblity.
IFS(
[Millers] = "X" ,
LOOKUP(..., "X")
[Millers] = "Y" ,
LOOKUP(..., "Y")
)
Thanks for suggestion! @Marc_Dillon ,
I will try this and will get back here.
Regards,
It works well. However I need to hardcode it.
But atleast it works as expected.
Thanks for your help! @Marc_Dillon
โ1\302\240\342\200\223\302\2405โ
is โ1 - 5โ, where unicode em-dash and non-breaking spaces are expressed in octal.
When I have an appsheet webhook send:
โmy_dataโ : โ1\302\240\342\200\223\302\2405โ
Am I right to think appsheet is escaping my backslashes? can i suppress that, so the \302 etc is received as octal?
No, I donโt believe so. You should have no issue using blackslashes within a quoted text string.
ya. Iโm having a challenge on the receiving side and donโt have visibility into where the stripping is happening, so Iโm doing a few experiments.
Hi @davidk !
Iโm afraid I donโt fully understand your problem but Iโm wondering if substituting some other character for the backslashes and then reconstituting the strings on the other end might be an option. Sorry if my idea isnโt applicable to your situation.
User | Count |
---|---|
18 | |
15 | |
10 | |
7 | |
4 |