Untitled
unknown
plain_text
2 years ago
380 B
5
Indexable
local stringvar withPrev := "";
local stringvar withoutPrev := "";
if InStr({YourTable.COD21Z_Description}, "Prev.") > 0 then
withPrev := {YourTable.COD21Z_Description}
else
withoutPrev := {YourTable.COD21Z_Description};
if InStr(withoutPrev, "Prev.") > 0 then
withoutPrev := Replace(withoutPrev, "Prev.", Chr(10) + "Prev.", 1, 1);
withoutPrev + Chr(10) + withPrev
Editor is loading...
Leave a Comment