RE: How can i remove all non-ascii characters from a string?

2005-11-21 Thread Artur Kordowski
Try this: REReplace(crazyString, "[^[:ascii:]]", "", "ALL") 

Cheers, Artur

-Original Message-
From: Jon Block [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 21, 2005 4:59 PM
To: CF-Talk
Subject: How can i remove all non-ascii characters from a string?

Would this work?

 

^~?_]", " ", "All") />

 

There has to be some better way of doing this...

 

Thank you,

Jon



This electronic message transmission contains information from Collegiate
Funding Services, LLC or its subsidiaries or affiliates that may be
confidential or privileged. The information is intended to be for the use of
only the individual or entity named above. If you are not the intended
recipient, be aware that any disclosure, copying, distribution or use of the
contents of this information is strictly prohibited. If you have received
this electronic transmission in error, please notify the sender by reply
e-mail @cfsloans.com immediately and delete this e-mail and any attachments
from your system and any copies you may have made, electronic or otherwise.





~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224812
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: How can i remove all non-ascii characters from a string?

2005-11-21 Thread Ray Champagne
You be intereted in looking into CF_StripASCII on the developers 
exchange.  I think it'll do what you want, although it's been months 
since I've looked at it.

Jon Block wrote:
> Would this work?
> 
>  
> 
>  @`!""##$%&'()*+,-./:;\[{<\|=\]}>^~?_]", " ", "All") />
> 
>  
> 
> There has to be some better way of doing this...
> 
>  
> 
> Thank you,
> 
> Jon
> 
> 
> 
> This electronic message transmission contains information from Collegiate 
> Funding Services, LLC or its subsidiaries or affiliates that may be 
> confidential or privileged. The information is intended to be for the use of 
> only the individual or entity named above. If you are not the intended 
> recipient, be aware that any disclosure, copying, distribution or use of the 
> contents of this information is strictly prohibited. If you have received 
> this electronic transmission in error, please notify the sender by reply 
> e-mail @cfsloans.com immediately and delete this e-mail and any attachments 
> from your system and any copies you may have made, electronic or otherwise.
> 
> 
> 
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224809
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54