Ciao a tutti,
esiste una funzione che data un stringa contenente ad esempio

" CIP & CIOP"
mi restituisca

" CIP &#38 CIOP "
Questo e' solo un esempio, perche' mi servirebbe per tutti i caratteri di questo tipo, compresi i tag html, come "<" o ">"

Grazie in anticipo.