Re: [convertchars] Problem

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30985
interpreted = N
texte = >OK so you want to take out the blank spaces and put in plus >signs. Another great way to do this is with the ListWords >command.Listwords is a context, not a command. This may sound like a picky comment, but there are *substantial* differences between contexts and commands in the webdna language, and it is important to recognize these differences and to refer to each webdna feature properly ... :) >You could list your words and insert plus signs >inbetween them. Hide the first plus sign by checking to see >if the index is one. > >This would be another way to solve your problem. > >something like > >[listwords words=[street]][hideif [index]=1]+[/hideif][word][/listwords]Interesting concept, but this example won't work properly every time unless you use the optional 'delimiters' parameter and set it to the space character. If you use it the way it is shown here, you will get the wrong results if the [street] value has any default wordbreak character in it other than a space. ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: [convertchars] problem... (John Peacock 2000)
  2. Re: [convertchars] problem... (Kenneth Grome 2000)
  3. Re: [convertchars] problem... (John Peacock 2000)
  4. Re: [convertchars] problem... (Claus Lundholm 2000)
  5. Re: [convertchars] problem... (Peter Ostry 2000)
  6. [convertchars] problem... (Claus Lundholm 2000)
  7. Re: [convertchars] Problem (tech 2000)
  8. Re: [convertchars] Problem (tech 2000)
  9. Re: [convertchars] Problem (Kenneth Grome 2000)
  10. Re: [convertchars] Problem (Sue Booher 2000)
  11. Re: [convertchars] Problem (Nicolas Verhaeghe 2000)
  12. Re: [convertchars] Problem (Anup setty 2000)
  13. [convertchars] Problem (Sue Booher 2000)
  14. Re: [ConvertChars] problem (Grant Hulbert 1997)
  15. Re: [ConvertChars] problem (Jacques VERNAY 1997)
  16. Re: [ConvertChars] problem (Trevor Crist 1997)
  17. Re: [ConvertChars] problem (Kenneth Grome 1997)
  18. [ConvertChars] problem (Trevor Crist 1997)
  19. Re: [ConvertChars] problem (Grant Hulbert 1997)
>OK so you want to take out the blank spaces and put in plus >signs. Another great way to do this is with the ListWords >command.Listwords is a context, not a command. This may sound like a picky comment, but there are *substantial* differences between contexts and commands in the webdna language, and it is important to recognize these differences and to refer to each webdna feature properly ... :) >You could list your words and insert plus signs >inbetween them. Hide the first plus sign by checking to see >if the index is one. > >This would be another way to solve your problem. > >something like > >[listwords words=[street]][hideif [index]=1]+[/hideif][word][/listwords]Interesting concept, but this example won't work properly every time unless you use the optional 'delimiters' parameter and set it to the space character. If you use it the way it is shown here, you will get the wrong results if the [street] value has any default wordbreak character in it other than a space. ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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 Kenneth Grome

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:

encryption madness (2003) Great product and great job ! (1997) changing names of Graphic files (2002) searchable list archive (1997) PCS Frames (1997) Renaming textA (1998) LetterRip and WebCat & more (1998) upgrading (1997) Erotic Sites (1997) Putting & into a database (1999) [ModDate] & [ModTime] ? (1997) Include a big block of text (1997) a little OT (2001) [OT] Dedicated Image Uploader/Server [/OT] (2003) Exclamation point (1997) admin login problems - something else now (2000) Fun with Dates - finally resolved but.... (1997) WebDNA Intranet Edition release (2002) CommandSecurity? (1997) Search in 2 or more catalogs (1997)