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:

[WebDNA] incomplete redirect tag (2009) WebCat and image maps (1997) F3 crashing server (1997) Kudos (1998) autosensing lanague selection (1997) removelineitems (2000) What is the maximum record length? (1998) 4.5.1 (2003) [WebDNA] Middle Question (2015) Separate SSL Server (1997) Understanding variables (1999) [BULK] [WebDNA] [BULK] WebDNA 7 - Ready or Not ?? I'm not sure... (2011) Weird Math and SV (1997) WC2b12: Yes, Formulas.db is for real (1997) [LOOKUP] (1997) ConvertChars (1998) oops private message leaked into talk list (1997) Trouble with emailer (2000) [append] and SSL (1997) RE: Problems with dbcatalog.exe (1997)