Php String Handling
I've got a Php question. I am more familiar with shell scripting but I believe a lot of the same principles apply. If I've got a string variable in php say:
$z is currently equal to:
object(GreenClass)#1 (2) { ["number"]=> int(3) ["description"]=> string(19) "This class is green" }
What if I just wanted to grab: "This class is green"
Does php allow for things such as awk, or sed, or grep? Any help would be greatly appreciated. Links, other forum discussions etc, about string manipulation in php.
Thanks,
KARL
|