The POSIX character class is case-sensitive.  Try this:

<cfset form.SSN = reReplace( form.SSN, "[[:space:]]", "", "all" )>

Chris Lofback
Sr. Web Developer

TRX Integration
28051 US 19 N., Ste. C
Clearwater, FL  33761
www.trxi.com


> -----Original Message-----
> From: Smith, Matthew P -CONT(DYN) 
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 27, 2002 10:59 AM
> To: CF-Talk
> Subject: RE: silly rereplace
> 
> 
> Yep, works great.  Thanks for the help.
> 
> Any reason why the original doesn't work?  It seems like it 
> should, or am I
> misunderstanding the [[:Space:]] ?
> 
> 
> >>-----Original Message-----
> >>From: Tony Weeg [mailto:[EMAIL PROTECTED]]
> >>Sent: Wednesday, November 27, 2002 9:50 AM
> >>To: CF-Talk
> >>Subject: RE: silly rereplace
> >>
> >><cfset form.SSN = Replace(form.SSN, ' ', '', 'all')>
> >>
> >>why not just do this?
> >>
> >>..tony
> >>
> >>Tony Weeg
> >>Senior Web Developer
> >>Information System Design
> >>Navtrak, Inc.
> >>Fleet Management Solutions
> >>www.navtrak.net
> >>410.548.2337
> >>
> >>
> >>-----Original Message-----
> >>From: Smith, Matthew P -CONT(DYN) 
> [mailto:[EMAIL PROTECTED]]
> >>
> >>Sent: Wednesday, November 27, 2002 10:28 AM
> >>To: CF-Talk
> >>Subject: silly rereplace
> >>
> >>
> >><cfset form.SSN = reReplace( form.SSN, "[[:Space:]]", "", "all" )>
> >>
> >>this is not stripping out spaces like I want it too...?
> >>
> >>
> >>
> >>
> >>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to