Re: [WebDNA] output of all non alphaNumeric characters?
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102200
interpreted = N
texte = O.K., one last post to myself! ;-) (for archives sake)The code below produces the list with no spaces/delimiters..and since the listis static, I can now use the output to put in a convertcharsdatabase (or what-have-you) to make for quickerreference. Of course, you could do this all in a Bashscript as well.. (and then copy/paste the output to aconvertchars .db).. but this is a WebDNA list!btw, I grabbed the page source output.. not the html output.*****************************************[grep search=%20&replace=][grep search=[%0D%0A%0B]*&replace=][unurl][loop start=32&end=255&advance=1] [hideif [index]=127] [if ([index] > 47) & ([index] < 58)] [else] [if ([index] > 64) & ([index] < 91)] [else] [if ([index] > 96) & ([index] < 123)] [else] [shell]echo [index] | awk '{printf("%c", $1)}'[/shell] [/else] [/if] [/else] [/if] [/else] [/if] [/hideif][/loop][/unurl][/grep][/grep]******************************************O.K., on to your regularly scheduled programming.Donovan-- Donovan D. Brooke PH: 1 (608) 770-3822------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
Associated Messages, from the most recent to the oldest:
O.K., one last post to myself! ;-) (for archives sake)The code below produces the list with no spaces/delimiters..and since the listis static, I can now use the output to put in a convertcharsdatabase (or what-have-you) to make for quickerreference. Of course, you could do this all in a Bashscript as well.. (and then copy/paste the output to aconvertchars .db).. but this is a WebDNA list!btw, I grabbed the page source output.. not the html output.*****************************************[grep search=%20&replace=][grep search=[%0D%0A%0B]*&replace=]
[unurl][loop start=32&end=255&advance=1] [hideif [index]=127] [if ([index] > 47) & ([index] < 58)] [else] [if ([index] > 64) & ([index] < 91)] [else] [if ([index] > 96) & ([index] < 123)] [else]
[shell]echo [index] | awk '{printf("%c", $1)}'[/shell] [/else] [/if] [/else] [/if] [/else] [/if] [/hideif][/loop][/unurl][/grep][/grep]******************************************O.K., on to your regularly scheduled programming.Donovan-- Donovan D. Brooke PH: 1 (608) 770-3822------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
Donovan Brooke
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:
newbies to web, spaces in email address (1998)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
Sendmail truncation in Eudora Clients (1998)
Cart sweeper (2000)
Help formatting search results w/ table (1997)
No luck with taxes (1997)
Queertrons? (1997)
CC and Europe (1999)
absolute path (*) - how does it work? (2007)
SIMS Email Question (2003)
[SearchString] problem with [search] context (1997)
Location of Webcat site in folder hierarchy (1997)
Security Question (1997)
Shell script within a sandbox (2005)
Weird G3 Happenings. (1998)
Updating Prices in Online Database (1999)
Emailer or [sendmail] questions ... (1998)
Sherlock and WebCat (1998)
multipart (2004)
Error.html (1997)