Hi Lance: On Sat, Jun 15, 2002 at 06:54:24PM +0800, Lance wrote: > hi, thanks for the code. i tried. it only worked if the string is simply > the one i wanna convert. but that particular string is in the middle of > a long text, and there are multiple occurance, it won't.
Strange. It should work regardless of length. Couple things. Could you please provide an example of the text you're trying to convert and explain why you have this weird format and why you need the other unusual format. We may be able to come up with something far more straight forward. --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php