Remove ellipsis character in expression

{
  "countErrors": 0,
  "countWarnings": 0,
  "countInfos": 1,
  "currentLabelCount": 301,
  "totalLabelCount": 1200,
  "currentJobCount": 1,
  "stateText": "Printing…",
  "errors": [],
  "timestamp": "2024-03-21T12:46:54.904Z"
}

I've never tried this before with an expression but it seems to work.

if(
	jsonGet({value}, "stateText") = "Printing…",
	jsonSet({value}, "stateText", "Printing"),
	{value}
)

See Types of Tags | Ignition User Manual which may be relevant.


Tips:

  1. Use https://jsonlint.com to check JSON and to prettify it.
  2. See Wiki - how to post code on this forum.