Hey!

Is there a way to add a global function (which can be called either
from the layout, a view or a controller) that parses a string?

For example:
I have a string that contains an article: "Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
labore et dolore magna aliquyam erat, sed diam voluptua."

Now I want to create a function, that replaces the word 'consetetur'
in this string. How do i accomplish that?

Regards,
Benedikt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to