Re: How to process all WritePro area expressions for replacement / update?

2018-12-21 Thread John DeSoi via 4D_Tech
This may help you get started: ARRAY LONGINT($aPos;0) ARRAY LONGINT($aLen;0) $start:=1 While (Match regex("\\s*)";$text;$start;$aPos;$aLen)) $expr:=Substring($text;$aPos{2};$aLen{2}) $expr:=Substring($expr;10) //Strip off leading -d4-ref:' $expr:=URL_Decode ($expr) End while John

How to process all WritePro area expressions for replacement / update?

2018-12-21 Thread David Ringsmuth via 4D_Tech
I need some code that will process a 4D WritePro area, updating existing embedded expressions, replacing them with a different expression. The command to get an expression, ST Get expression, works on only some expressions - data structure only like: [Table]Field. Editing a WritePro area using