Re: Removing Space Characters
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 22780
interpreted = N
texte = >is there a WEBDNA command to remove space characters from a given field?Yes, look at [ConvertChars] with a custom character conversion database.>I'm generating html pages with a [writefile] command, and I'm using a>[companyname] field for the name of the html page, but the only problem I>seem to be having now is spaces , like when it generates a page say for>AAA Construction is there a way to make it write the file as>AAAconstruction.html (instead of AAA Construction.html)....and does any>one know if there is a limit to the number of characters that can be in the>html filename generated by webCat?I don't see why spaces are bad in filenames, because you just use [URL]AAAConstruction[/URL] to generate a filename AAA%20Contstruction that works OKin a HREF URL. The %20 gets converted back to a space automatically by theserver.The limit of filename lengths is 31 characters for MacOS and 255 charactersfor NTTechnical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>is there a WEBDNA command to remove space characters from a given field?Yes, look at
[convertchars] with a custom character conversion database.>I'm generating html pages with a
[writefile] command, and I'm using a>[companyname] field for the name of the html page, but the only problem I>seem to be having now is spaces , like when it generates a page say for>AAA Construction is there a way to make it write the file as>AAAconstruction.html (instead of AAA Construction.html)....and does any>one know if there is a limit to the number of characters that can be in the>html filename generated by webCat?I don't see why spaces are bad in filenames, because you just use
[url]AAAConstruction[/URL] to generate a filename AAA%20Contstruction that works OKin a HREF URL. The %20 gets converted back to a space automatically by theserver.The limit of filename lengths is 31 characters for MacOS and 255 charactersfor NTTechnical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/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:
[protect admin] (1997)
WebCat2 - [format thousands] (1997)
[sql] problems in WebCat 4.0 (2000)
WC 2.0 frames feature (1997)
Is it possible to pause or wait a process (2000)
Bad Cookie / Internet Option / Internet Explorer (2004)
WebCat2: Master Counter snippet (1997)
2 Questions (2001)
UCE: Regarding PayPal (was Payments -> Bank Accounts) (2005)
RE: type 2 errors with ssl server (1997)
math on date? (1997)
[WebDNA] BBEdit (2014)
can WC render sites out? (1997)
Only charge card when product shipped ? (1997)
[protect] (1998)
E-mailer error codes (1997)
invoice.tpl (1998)
ShowNext (1997)
Internet Explorer 6 Form problems (2005)
Drop down menu (2003)