Thanks Tim. Your answer solves many problems to me. But I have a further question. Sometimes a question mark apears in the middle of a string like that:
$string = "/cgi-bin/search.pl?term=who?&lang=english"; where "who?" is a unit and the question mark is part of it. Although I try to escape the question mark in "who?" and I get its hexadecimal number, I don't get the expected result because it's interpreted as a second quoestion mark in the whole string. Regards, - Oriol - _________________________________________________________________ Descargue GRATUITAMENTE MSN Explorer en http://explorer.yupimsn.com/intl.asp -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]