SOLVED: We can use `==` to test for equality of strings in the context of format.
On Monday, December 21, 2020 at 11:57:28 AM UTC-8 [email protected] wrote: > I am in the process of customizing the formatting for some of the reports > that I will be using daily, and it sure would be handy if I could format > certain areas differently based upon the value of partial_account. I am > assuming that the value for partial_account changes with each account that > ultimately gets displayed. In the format string, it would be handy to do > something like: > > (strcmp (partial_account, \"XYZ\") ? ABC : DEF) > > Is there a way to achieve this? > -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/00226030-dae4-428a-bf78-3d1178d2b959n%40googlegroups.com.
