Managed to find a somewhat okay solution by finding the codeunit where the expression starts, and then using Meta.parse(::String, idx) which gives the parsed expression starting at idx and the end codeunit of the expression
Mason Protter has marked this topic as resolved.
Last updated: Mar 09 2026 at 05:37 UTC