I've just figured something out. I was trying to work out how to add text together (say if you're building a list comprised of text strings - I needed to do it for my Pathfinder background generator to show a list of available traits at the end). It can be done; you need to use the following format. This adds the variables $Class and $Alignment. The ", " (comma space) in the middle isn't part if the format; it's there because I wanted to add a comma and space between them, so the output would be: "$Class, $Alignment" rather than "$Class$Alignment".
{$p: {print: $Class}, {print: $Alignment}}{print: $p} {print: $p}
{$p: {print: $Class}, {print: $Alignment}}{print: $p} {print: $p}