Can't remove Mystery Characters
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28997
interpreted = N
texte = I use Web* Upload to have a file uploaded to a directory that only has 2 files in it:.upload, required by Web*, Default.tmpl - required by Webstar to Acknowledge the upload of the file.I use this code to get the name of the 3 files in one string[TEXT SHOW=F]t_filename=[ListWords Words=[ListFiles /artifactsend][FileName][/ListFiles]&Delimiters= ][word][/ListWords][/TEXT]
I then extract the file name from the string using GETCHARS.If somebody uploads a file with a space in the name of it, I am unable to pull out the spaces in the string using the code below:[TEXT]t_shortened is = [CONVERTCHARS db=^convertall.db][t_filename][/CONVERTCHARS][/TEXT]Where convertall.db contains the following: (tabs are there)from to%1 (all the %numbers from %1 to %32, each on their own line)%127 %202 Did I miss something?-------------------------------------------------------------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:
|
- Can't remove Mystery Characters (Larry Orchier 2000)
|
I use Web* Upload to have a file uploaded to a directory that only has 2 files in it:.upload, required by Web*, Default.tmpl - required by Webstar to Acknowledge the upload of the file.I use this code to get the name of the 3 files in one string[TEXT SHOW=F]t_filename=[ListWords Words=[ListFiles /artifactsend][FileName][/ListFiles]&Delimiters= ][word][/ListWords][/TEXT]
I then extract the file name from the string using GETCHARS.If somebody uploads a file with a space in the name of it, I am unable to pull out the spaces in the string using the code below:[text]t_shortened is = [CONVERTCHARS db=^convertall.db][t_filename][/CONVERTCHARS][/TEXT]Where convertall.db contains the following: (tabs are there)from to%1 (all the %numbers from %1 to %32, each on their own line)%127 %202 Did I miss something?-------------------------------------------------------------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
Larry Orchier
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:
Duplicates (1998)
Web Catalog Book? (1998)
PIXO (1997)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
ssl/empty cart problem (2003)
emailer (1997)
Forbidden CGI Error (1997)
Not really WebCat (1997)
More help for discount pricing (1998)
[taxrate] question (1997)
Re:Searching for ALL / empty form field (1997)
WC1.6 to WC2 date formatting (1997)
[add] context causing WebStar to crash! (2000)
Help! (2000)
webcat2b12 CGI -- Date comparisons (1997)
SKU lookup (1997)
.html with IIS4 (1999)
search for range (2000)
Error Type 3 (1999)
For those of you not on the WebCatalog Beta... (1997)