Re: Problems with ^ could be solved with [REPLACE CHARACTERS]

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14190
interpreted = N
texte = >>But then I ran into an old problem again. If the text a want to check for >>bad words contains ! the DNS breaks because WebCat I want to compare not >>equal to and not contains. > >Try wrapping [url] around the text so a literal ! won't appear inside it: > >[showif [url]!^[/url]^[url]^[/url]] > >You're basically wrapping both sides of the ^ equation with URL >conversions, which causes the special characters to be encoded (very >similar to what you're asking for in a special ConvertChars).This seems to work (but I still want extended ConvertChars :-)). Thanks! ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se Associated Messages, from the most recent to the oldest:

    
  1. Re: Problems with ^ could be solved with [REPLACE CHARACTERS] (Christer Olsson 1997)
  2. Re: Problems with ^ could be solved with [REPLACE CHARACTERS] (Grant Hulbert 1997)
  3. Re: Problems with ^ could be solved with [REPLACE CHARACTERS] (Christer Olsson 1997)
  4. Re: Problems with ^ could be solved with [REPLACE CHARACTERS] (Grant Hulbert 1997)
  5. Re: Problems with ^ could be solved with [REPLACE CHARACTERS] (Christer Olsson 1997)
  6. Re: Problems with ^ could be solved with [REPLACE CHARACTERS] (Christer Olsson 1997)
  7. Re: Problems with ^ could be solved with [REPLACE CHARACTERS] (Grant Hulbert 1997)
  8. Problems with ^ could be solved with [REPLACE CHARACTERS] (Christer Olsson 1997)
>>But then I ran into an old problem again. If the text a want to check for >>bad words contains ! the DNS breaks because WebCat I want to compare not >>equal to and not contains. > >Try wrapping [url] around the text so a literal ! won't appear inside it: > >[showif [url]!^[/url]^[url]^[/url]] > >You're basically wrapping both sides of the ^ equation with URL >conversions, which causes the special characters to be encoded (very >similar to what you're asking for in a special ConvertChars).This seems to work (but I still want extended ConvertChars :-)). Thanks! ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se Christer Olsson

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

wish list (2002) Multiple prices (1997) Forcing a NEWCART (1997) looking for some paid WebCatalog help (2000) WC2f3 (1997) Multiple cart additions (1997) Re:Dumb Question about Docs (1997) PIXO (1997) Follow-up to listfiles bug report ... (2003) i luv formulas! (was Cool! formulas) (1998) Problem 2: Prefs file... (1997) Multiple Pulldowns (1997) Hiding HTML and breaking the page (1997) WebDNA Threaded Discussions? (2004) WebCat2b13MacPlugIn - [include] (1997) BUG ? Running on Empty (1999) Listfiles (1998) Which GUI HTML editors work with WC ? (1997) Feature: TCPconnect via SSL (1999) Price Not Appearing (2000)