Hello, All.
If I have a text block string from the body of an email and I want to parse links out of the text, how would I go about that?
I could search for href=" and take everything up to the next quote but how do I designate the area between the quotes as the text to pull into a new string?
Being a c# developer I tend to think in terms of positions withing the string.
but I am so unfamiliar with php that I don't know the syntax for something lik 'indexof(searchString)'.
Suggestions?
Thanks
PB
Gather or post content for free.
If I have a text block string from the body of an email and I want to parse links out of the text, how would I go about that?
I could search for href=" and take everything up to the next quote but how do I designate the area between the quotes as the text to pull into a new string?
Being a c# developer I tend to think in terms of positions withing the string.
Code:
newString = bodyString.subString(firstQuotePosition, secondQuotePosition)
Suggestions?
Thanks
PB
Gather or post content for free.