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:

multiple databases (1997) Can this be done? (2003) wow (1998) Error: Too many nested [xxx] contexts (1997) variables in template (2000) Frames and WebCat (1997) Text data with spaces in them... (1997) Mac Vs WindowsNT (1997) Currency Conversion (2003) WebCatalog/Mac 2.1b2 - PIXO (1997) 6.x on MacOSX 10.3.9 apache 1.73 (2006) Cookies and webcat (1997) Fun with dates (1997) Locking up with WebCatalog... (1997) Port of site from OS X to IIS 6 Help needed. (2004) redirect from the errorsMessages.db entry (1997) Sorting by date (1997) Date sorting (1997) Possible Bug in 2.0b15.acgi (1997) simple answer? [hideif] (1997)