I'm trying to use the STRSUBSTNO function to replace around 10 fields in an html formatted string. How can I get around the 132 chars per line limitation in the C/AL editor?
MyString := 'Some text with parameter %1' +
'some more text with parameter %2'; // you can extend this to more lines if you want, and more parameters
NewString := STRSUBSTNO(MyString,'one',
'two'); //also across multiple lines if you want
MyString := 'Some text with parameter %1' +
'some more text with parameter %2'; // you can extend this to more lines if you want, and more parameters
NewString := STRSUBSTNO(MyString,'one',
'two'); //also across multiple lines if you want
AKA: "Do a carriage return" 8)
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso My Blog
Answers
RIS Plus, LLC
MVP - Business Apps
AKA: "Do a carriage return" 8)
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog