What is the trick for including the ampersand and apostrophe characters in
the 2nd argument of the translate function and their encoded equivalents in
UTF-8 (e.g. %26 for the ampersand) in the
The trick is not to use translate() which can only do
character-for-character relacements, the archives of this list, or teh
faq, or Jeni's pages have general relace templates for doing string
replacements.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________