Steve,
Could you do this easily with JavaScript's regular expressions? If so,
sandwich the string.replace() between a server.getVariable() and a
server.setVariable inside a @SCRIPT
The nice thing is that JavaScript's replace is really fast, faster than
using @REPLACE

On Thu, Apr 23, 2009 at 10:40 AM, Fogelson, Steve
<stevefogel...@askics.net>wrote:

>  I would like to strip tags when displaying certain variables. For example
> variables that will be displayed in “alt” tags in html “img” tags.
>
>
>
> Generally it will probably be html tags. I would like to do it in the most
> efficient manner remembering that there may be multiple different tags in
> the variable.
>
>
>
> I could use multiple <@replace> for different tags, but then you have tags
> that that are variable in length.
>
>
>
> I could use a <@for> loop in conjunction with <@locate str=”<”> and
> <@locate str=”>”> and delete inclusive. Not sure if this is the most
> efficient.
>
>
>
> Looking for ideas.
>
>
>
> Thanks,
>
>
>
> Steve Fogelson
>
> Internet Commerce Solutions
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>
>

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to