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:
[OT] sbox error (2003)
Need relative path explanation (1997)
Another webcatalog site!! (1997)
Not really WebCat (1997)
Card clearance, problems - solutions? (1997)
Email notification to one of multiple vendors ? (1997)
[WebDNA] TcpConnect Help (2011)
Nesting format tags (1997)
For those of you not on the WebCatalog Beta... (1997)
A question on sub-categories (1997)
hiding links (1999)
[WebDNA] Clean URLS job - will pay (2010)
Database Updates (1997)
Form/HTML Help (2000)
color and size options (1997)
can anyone confirm this behavior? (2003)
Database field limit? (1998)
Email Scavengers (2003)
Truncated value after space - refresh my memory.... (1997)
WebCommerce Security Alert! (1996)