Hi All,
I’m parsing JSON files into Airtable Long Text fields, and then setting up Formula Fields to relay the contents of that JSON. For example, the JSON data looks similar to this;
{"NAME":"Colour","VAL":"Red","ID":"1"},
{"NAME":"Shape","VAL":"Square","ID":"2"},
{"NAME":"Size","VAL":"500","ID":"3"},
{"NAME":"Scale","VAL":"2","ID":"4"}
At the moment, I’m using a fairly hacky method to display the data in a formula field, for example;
ABS(SUBSTITUTE(
RIGHT(MID({Log Content},FIND("Size", {Log Content}),17),4)
, '"',''))
But this is buggy as. Obviously if Size is more or less than 3 digits, the output fails or works simply by chance.
What would be the correct way to write a formula that retrieves the entire value between the inverted commas, regardless of the length?