I need to parse an HTML document and to find all occurrences of string asdf in it.
asdf
I currently have the HTML loaded into a string variable. I would just
This can be done using strpos() function. The following code is implemented using for loop. This code is quite simple and pretty straight forward.
' . $value . ""; } ?>