I use this code to examine a string:

<cfset myString = "vffbbfbvf">
String: <cfoutput>#myString#</cfoutput><p>

<table>
   <tr><th>Index</th><th>Character</th><th>ASCII</th></tr>
   <cfloop from="1" to="#Len(myString)#" index="iChar">
 
     <cfoutput><tr><td>#iChar#</td><td>#Mid(myString,iChar,1)#</td><td>#Asc(  
Mid(myString,iChar,1))#</td></tr></cfoutput>
   </cfloop>
</table>

A web search turns up many ASCII charts, such as this one:
http://www.jimprice.com/jim-asc.htm

-David

On Tuesday, May 15, 2001 2:00 PM, Owens, Howard [SMTP:[EMAIL PROTECTED]] 
wrote:
>
>
> I'm parsing some text through CF that comes from another publishing system.
>
> The publishing system allows text to be centered, justified, left justified,
> right justified, etc.
>
> Each justification leaves a mysterious character in the string.  In HTML
> this just shows up as a box.
>
> I'm having a devil of a time figuring out or tracking down what the ASCII
> code is for these characters.   Even the tech support for the publishing
> system doesn't know.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to