How Can We Help?
< All Topics

How can I combine two string variables and place a CRLF between them?

This sample macro does what you need:

// Put CR in T13
Variable Set %T13% to ASCII Char of 13

// Put LF in T10
Variable Set %T10% to ASCII Char of 10

// Append T2 to T1 putting CRLF in between
Variable Set String %T1% “%T1%%T13%%T10%%T2%”

– Applies to: Macro Express 3 and Macro Express Pro.