Re: Advice needed.

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21871
interpreted = N
texte = Your technique looks fine. Is it not working? The newline in your allowedstrip.db should be %0D, which is the URL equivalent of a carriage return (since a literal carriage return is illegal in the middle of a database field)>I have a bunch of id numbers seperated by a space. > >001 002 003 004 > >I need to change the spaces into \n, newlines, returns... > >Right now I have: > >[search .... to get the value of [allowed] ] >[writefile allowed.db]allowed >[ConvertChars db=allowedstrip.db][allowed][/ConvertChars] >[/writefile] > >[closedatabase allowed.db] >[/search] > >allowedstrip has: >from to >space to newline >(actually a space that is) > >How do I turn those spaces into returns is my question???Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Advice needed. (Josh 1998)
  2. Re: Advice needed. (PCS Technical Support 1998)
  3. Advice needed. (Josh 1998)
Your technique looks fine. Is it not working? The newline in your allowedstrip.db should be %0D, which is the URL equivalent of a carriage return (since a literal carriage return is illegal in the middle of a database field)>I have a bunch of id numbers seperated by a space. > >001 002 003 004 > >I need to change the spaces into \n, newlines, returns... > >Right now I have: > >[search .... to get the value of [allowed] ] >[writefile allowed.db]allowed >[ConvertChars db=allowedstrip.db][allowed][/ConvertChars] >[/writefile] > >[closedatabase allowed.db] >[/search] > >allowedstrip has: >from to >space to newline >(actually a space that is) > >How do I turn those spaces into returns is my question???Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

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:

Problems getting parameters passed into email. (1997) [WriteFile] problems (1997) Help name our technology! I found it (1997) WC 2.0 frames feature (1997) Showif for mulitple variations (1997) WebCatalog for guestbook ? (1997) A quickie question (1997) Next X hits (1996) OT: PC and Wireless Network (2003) Re:Comments Convertion (1998) recording the previous found record.. (2004) [Sum] function? (1997) WebCatalog can't find database (1997) More on the email templates (1997) Overridding E-Mailer (1998) WebDNA 6 and IIS 5.0 HTTP Compression (2004) Re:Merging databases (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997) NT Version on IIS 4.0 (1997) WebCat Contest (1998)