Hi all,
Just working on a project of mine and I've been learning how to capture a segment of text using the substr function.
Problem with this is it counts characters.
a few questions:
1. Will this code ignore HTML tags?
2. Is there a way where you can capture to the nearest word?
3. If substr is not the right function, what is?
Cheers
Dean
-------------------------------------------------------------
"The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."
Just working on a project of mine and I've been learning how to capture a segment of text using the substr function.
Problem with this is it counts characters.
a few questions:
1. Will this code ignore HTML tags?
2. Is there a way where you can capture to the nearest word?
3. If substr is not the right function, what is?
Cheers
Dean
-------------------------------------------------------------
"The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."