Hi PHPUG,
I have to get a project completed very shortly and need to set up a
sprintf style string pattern replace for variables.
For example I need: sprintfVariables('This is an example of:
%name%',array('name'=>'some script'));
And be able to replace %name% with the variable in the array defined
with the key 'name'.
Does anyone have anything like this already made and ready to go? I
really don't have time to set up the regex.
Thanks heaps guys,
Stig
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---