strLine Function
Dynamics AX 2009
Retrieves a single line from a string that spans multiple lines.
str strLine(str string, int count)
The first line of the string has an offset of 0.
You can assign multiple lines to one string by embedding the \n or \r\n characters in the string. Also, you can use the @ character immediately before the opening quotation mark and use the Enter key to spread parts of the string value over multiple lines in the X++ code editor.
Community Additions
ADD
Show: