barely tested, but maybe a starting point:
function striptags tHtml
replace cr with empty in tHtml -- in case of multi-line tags
replace "<" with cr & "<" in tHtml
replace ">" with ">" & cr in tHtml
filter tHtml without "*<*"
filter tHtml without "*>*"
return tHtml
end striptags
best,
Mark
On 8 Sep 2006, at 13:52, paolo mazza wrote:
just a simple task for Revolution!
How can I remove html tags from text?
i.e.
from: try <b> solve<b> this <<httpk.hhkjhlkjlljkl= hkjh> quiz </a>
to: try solve this quiz
I should use a wildcard but ....
filter TEXT with "<*>" does not work. It is only for a list.
I do not want to put the Text in a field and use the HtmlText.
Ciao
Paolo Mazza
********************************************************
Paolo Mazza
NEOL SRL
Via Calatafimi, 16 - 35137 PADOVA
www.neol.it [EMAIL PROTECTED]
Tel 049-7386590
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution