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:
required fields (1998)
webcat method for waiting specific amount of time? (2000)
Path of Events (1999)
Cart Numbers (1997)
Xserve Recommendations (2003)
SSL and reg web* (1997)
Looking for a Manual (1997)
Grouping search fields, etc. (1997)
does summ effect blank fields? (1998)
Running 2 two WebCatalog.acgi's (1996)
Sort Order on a page search (1997)
Which version to buy? (2000)
Missing Cart Information (2003)
Multiple prices (1997)
WebCat2 several catalogs? (1997)
Clearly.home (1998)
I have troubles to send message out (1998)
[WebDNA] An unknown error occured // Deadlock avoided (2011)
WC2b15 File Corruption (1997)
Web Catalog vs. ICAT (1997)