06.08.2011, 19:45
You don't need a format function.
Just use somethin like the following:
Would return (if nameString contained 'Bob'):
EDIT: +rep if this helped, please. <3
Just use somethin like the following:
PHP код:
<?php
$string = "Your name is " . $nameString . ".";
?>
Код:
Your name is Bob.