Checking for characters in a string
Posted: Sun Mar 04, 2007 1:39 pm
Hi,
I have a $var which contains a set of characters. I want to check that another string, $string, ONLY contains characters contained within $var.
Is there any PHP string function that does this?
Many thanks.
I have a $var which contains a set of characters. I want to check that another string, $string, ONLY contains characters contained within $var.
Is there any PHP string function that does this?
Many thanks.