Hello,
I'm developing a document automation application and I need help. I want to simulate a bold formatting that will also be applied to the PDF document later. However, as everyone knows, there's no formatting control in AppSheet. Nevertheless, I'm trying to achieve this using Unicode characters ("a", "๐ฎ", "b", "๐ฏ", "c", etc.). I managed to create a SUBSTITUTE formula to replace values in the [Ressalvas] column of my table. However, I would like a mechanism that replaces values with Unicode characters only where the text is enclosed between "**" characters (for example, *CONSIDERING* the law n. *8.666/2023*, so it becomes ๐๐ข๐ก๐ฆ๐๐๐๐ฅ๐๐ก๐ the law n. ๐ด.๐ฒ๐ฒ๐ฒ/๐ฎ๐ฌ๐ฎ๐ฏ). Do you have any ideas for a formula that could accomplish this? I'm sure this would help a lot of us.
SUBSTITUTE formula i'm using:
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE([Ressalvas], "a", "๐ฎ"),
"b", "๐ฏ"
),
"c", "๐ฐ"
),
"d", "๐ฑ"
),
"e", "๐ฒ"
),
"f", "๐ณ"
),
"g", "๐ด"
),
"h", "๐ต"
),
"i", "๐ถ"
),
"j", "๐ท"
),
"k", "๐ธ"
),
"l", "๐น"
),
"m", "๐บ"
),
"n", "๐ป"
),
"o", "๐ผ"
),
"p", "๐ฝ"
),
"q", "๐พ"
),
"r", "๐ฟ"
),
"s", "๐"
),
"t", "๐"
),
"u", "๐"
),
"v", "๐"
),
"w", "๐"
),
"x", "๐
"
),
"y", "๐"
),
"z", "๐"
),
"A","๐"
),
"B","๐"
),
"C","๐"
),
"D","๐"
),
"E","๐"
),
"F","๐"
),
"G","๐"
),
"H","๐"
),
"I","๐"
),
"J","๐"
),
"K","๐"
),
"L","๐"
),
"M","๐ "
),
"N","๐ก"
),
"O","๐ข"
),
"P","๐ฃ"
),
"Q","๐ค"
),
"R","๐ฅ"
),
"S","๐ฆ"
),
"T","๐ง"
),
"U","๐จ"
),
"V","๐ฉ"
),
"W","๐ช"
),
"X","๐ซ"
),
"Y","๐ฌ"
),
"Z","๐ญ"
),
"0","๐ฌ"
),
"1","๐ญ"
),
"2","๐ฎ"
),
"3","๐ฏ"
),
"4","๐ฐ"
),
"5","๐ฑ"
),
"6","๐ฒ"
),
"7","๐ณ"
),
"8","๐ด"
),
"9","๐ต"
)
Thanks,
Daniel
The way I've done it before is as follows, where you want text sometimes in bold and red and sometimes normal
<<IF([Check]=TRUE,"black text","")>><<IF([Check]=FALSE,"bold and red","")>>
So that for each condition you have a complete formula.
But you can't mix and match formating between the << >>. So this wouldn't work
<<IF([Check]=TRUE,"black text","bold and red",)>>
Hope this helps ๐
Simon, 1minManager.com
User | Count |
---|---|
18 | |
14 | |
11 | |
7 | |
4 |