Untitled

Anonymous
plain_text
12/06/2023 2:59 PM
484 B
14
Indexable
local stringvar description := {YourTable.COD21Z_Description};
local stringvar withPrev := "";
local stringvar withoutPrev := "";

if InStr(description, "Prev.") > 0 then
    withPrev := Replace(description, "Prev.", "");
    withoutPrev := "Prev." + Replace(description, "Prev.", "", 1, 1);
else
    withoutPrev := description;

withoutPrev + Chr(10) + withPrev
Editor is loading...
Leave a Comment