I made a test php replacement text thingy. Here it is: http://www.plaxon.comyr.com/replace.html. The text field is teh text you want to replace, and the replacement text field is the text you want to replace the text field with, and then the filter string field is the string you want to filter, for example:
my website wrote:
text: hello replacement text: goodbye filter string: hello world
Results:
my website wrote:
goodbye world
Cool, eh?
Comment and tell me what you think!
Offline
sparks wrote:
Interesting! What practical uses can you think of for it?
![]()
lol. It gives you the code to, so its easy for php learners to get to know the string replace function better. That's what practical use I can think of for it
Offline
or you could just tell them to visit http://lmgtfy.com/?q=replace+part+of+string+php
Offline
This is easier, and helps them learn better. Insted of all the quotes with no values, they just generate their own code with this. What's so bad about that?
Offline
WindowsExplorer wrote:
This is easier, and helps them learn better. Insted of all the quotes with no values, they just generate their own code with this. What's so bad about that?
Nothing at all
good job!
Offline
str_replace("joe", "bob", "lol" )
Offline
flashgocrazy wrote:
str_replace("joe", "bob", "lol" )
Would output "joe"
Offline