FOR i := 1 TO STRLEN(String) BEGIN
IF String[i] = '|' THEN
NewString := NewString + '&<>'
ELSE
NewString := NewString + String[i];
END;
Or something similar, can't remember the exact syntax of a FOR loop in Navision as I rarely use them. You'll have to change it up a little bit to suit your needs.
Comments
NewString Text
Or something similar, can't remember the exact syntax of a FOR loop in Navision as I rarely use them. You'll have to change it up a little bit to suit your needs.
My Blog - nav.education