Gems

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 67198
interpreted = N
texte = Hello, I thought it would be fun to start a more rare context highlight thread. I was browsing through the docs and realized that I was not aware of a lot of the commands/contexts that are available. I'll start: ------------------------------------------------------- [FindString Source=...&Find=...&MatchCase=...&Reverse=...&StartAt=...] New for 6.0 You can use the [findstring] global tag to find the location of a sub-string within a given source string. example: [text]mystring=WebDNA is a powerful, easy to learn, scripting language.[/text] [text]found_at=[FindString source=[mystring]&find=powerful][/text] [showif [found]>0] Found 'powerful' in source string at character position [found_at] [/showif] [hideif [found]>0] String 'powerful' not found. [/hideif] result... Found 'powerful' in source string at character position 13 --------------------------------------------- The docs page is at: http://webdna.smithmicro.com/ref/pages.html?context=AllTags.html#FileCompare Not sure what I'd use at this moment ;-).. but, thought it was interesting enough to post. Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Gems ( Donovan Brooke 2006)
  2. Re: Gems ( Gary Krockover 2006)
  3. Gems ( Donovan Brooke 2006)
Hello, I thought it would be fun to start a more rare context highlight thread. I was browsing through the docs and realized that I was not aware of a lot of the commands/contexts that are available. I'll start: ------------------------------------------------------- [FindString Source=...&Find=...&MatchCase=...&Reverse=...&StartAt=...] New for 6.0 You can use the [findstring] global tag to find the location of a sub-string within a given source string. example: [text]mystring=WebDNA is a powerful, easy to learn, scripting language.[/text] [text]found_at=[FindString source=[mystring]&find=powerful][/text] [showif [found]>0] Found 'powerful' in source string at character position [found_at] [/showif] [hideif [found]>0] String 'powerful' not found. [/hideif] result... Found 'powerful' in source string at character position 13 --------------------------------------------- The docs page is at: http://webdna.smithmicro.com/ref/pages.html?context=AllTags.html#FileCompare Not sure what I'd use at this moment ;-).. but, thought it was interesting enough to post. Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Donovan Brooke

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:

Trigger Validation Text Broken (2003) random images (1997) [OT] Robust order processing (2003) LookUp Tag (1997) BGcolor (1997) off topic fetch vs PCS photomaster (1997) Search in 2 or more catalogs (1997) Mac Lockup Problems (1998) using showpage and showcart commands (1996) Viewing old carts (was FEW QUESTIONS) (1997) How To question on setting up downloads (1997) Re:multiple digests, please stop (1997) carriage returns in data (1997) Multiple Ad databases? (1997) WebDNA Solutions ... sorry! (1997) [WebDNA] special chars (2009) [SHOWIF] (1997) Resume Catalog ? (1997) More than one db with the same namn (was: WC2f3) (1997) Error:Too many nested [xxx] contexts (1997)