I’m extracting data from AX and store it on an output file. Each field in the file is tab delimited and so I append a \t at the end of the field. However, even if I use strlrtrim function, still there is an extra space on each each. See image below, the dot indicates white space. Need your help. Thank you in advance.
Adding \t manually sounds very weird; I’ve never done it. I wonder how your code looks like. Why don’t you use something like TextIo class with outFieldDelimiter set to what you need and don’t leave the rest to AX?
Hi Martin;
I’m creating e-payment file that is why, at the end of each field I append \t.
Aha, okay. Can you please share a simplified example of your code demonstrating the problem?
Consider this code which I uses trim built-in function; outRecord = conins(outRecord,1, strfmt("%1\t", strlrtrim(custVendPaym.paymId()))); and still a white space on the file occur.
Which whitespace character(s)? Where?
Please don’t forget that we can’t look over your shoulder; you must explain what’s going on in your system.
Try with strkeep() …