We should be able to do something like the following in core.
<?php
$string = 'The first node is [node1:title] and the other node is [node2:title]';
$string = token_replace($string, array('node1'=> $node1, 'node2'=> $node2));
?>
We should be able to do something like the following in core.
<?php
$string = 'The first node is [node1:title] and the other node is [node2:title]';
$string = token_replace($string, array('node1'=> $node1, 'node2'=> $node2));
?>