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:

NT vs Mac (1997) DomainList (2005) Changes to the List (1997) Cleaner URLs (2003) Un[url]ize (1999) WebCat editing, SiteGuard & SiteEdit (1997) Nav. 4 probs with cart - Serious problem (1997) [OT] (waaaay OT) (2004) Emailer help....! (1997) WebCatalog can't find database (1997) Urgent Help needed (1998) creating a ShipCosts database (1997) 3.0 [TEXT] variables (1998) WebCat NT v. Mac (1997) [quantity] and quantity[lineindex] (2000) default error on NT? (1997) Why is my easy [AddLineItems] NOT working?? (2000) Date problems (1997) Webcatalog/Butler (1998) SiteEdit NewFile.html ? (1997)