Determining which ASCII char was picked up from the web

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
evangelmike
Pro Scripter
Posts: 56
Joined: Sun May 11, 2008 9:39 pm

Determining which ASCII char was picked up from the web

Post by evangelmike » Wed Dec 30, 2009 8:26 am

Greetings! I picked up some nonprintable ASCII characters from the Internet. For example, one of them is enclosed within the following double quotes: "  ". How would I go about determining which ASCII character this is? I would like to give this char a name, such as Let>SpChar=
Thanks for your help.
May you have a blessed day!

Michael D Fitzpatrick
Reg. US Patent Agent

User avatar
JRL
Automation Wizard
Posts: 3526
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Wed Dec 30, 2009 2:16 pm

Use VBScript. This can do one character at a time so you might need to write prior code to take a string and break it into single characters to be evaluated.

Code: Select all

VBSTART
VBEND
VBEval>asc(" "),Ascii_code

evangelmike
Pro Scripter
Posts: 56
Joined: Sun May 11, 2008 9:39 pm

Redesigning to eliminate need to identify unprintable chars

Post by evangelmike » Thu Dec 31, 2009 11:44 pm

Greetings JRL:
Thanks for your kind help. I took a careful look at the design of my macro, and decided to revise it completely. Consequently the program no longer has a need for identifying unprintable characters. But I will keep your response for future reference. It may be very useful to my program some day. May you have a blessed day.
May you have a blessed day!

Michael D Fitzpatrick
Reg. US Patent Agent

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts