Untitled
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
Leave a Comment