Re: removing chr(10), chr(13), chr(9), chr(12)
That got it. Thank you so much. On Sun, Aug 22, 2010 at 9:12 PM, Wil Genovese wrote: > > This is what I use to remove all control characters from a string. Which > includes linefeed chr(10) and carriage return chr(13). > > REReplaceNoCase(string,'([[:cntrl:]])','','All') > > > Wil Genovese > Sr. Web Application Developer/ > Systems Administrator > > Wil Genovese Consulting > wilg...@trunkful.com > www.trunkful.com > > On Aug 22, 2010, at 8:58 PM, Justin Scott wrote: > > > > >> Thank you for the help. It seems I am still > >> missing the line feed somehow. > > > > In the replaceList() put a comma between char 13 and 10 so it will catch > > them individually instead of only when they're together (and add another > > comma to the second attribute as well). Sometimes text will only have a > > line break (10) without the carriage return (13). > > > > > > -Justin > > > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336457 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: removing chr(10), chr(13), chr(9), chr(12)
This is what I use to remove all control characters from a string. Which includes linefeed chr(10) and carriage return chr(13). REReplaceNoCase(string,'([[:cntrl:]])','','All') Wil Genovese Sr. Web Application Developer/ Systems Administrator Wil Genovese Consulting wilg...@trunkful.com www.trunkful.com On Aug 22, 2010, at 8:58 PM, Justin Scott wrote: > >> Thank you for the help. It seems I am still >> missing the line feed somehow. > > In the replaceList() put a comma between char 13 and 10 so it will catch > them individually instead of only when they're together (and add another > comma to the second attribute as well). Sometimes text will only have a > line break (10) without the carriage return (13). > > > -Justin > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336456 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: removing chr(10), chr(13), chr(9), chr(12)
> Thank you for the help. It seems I am still > missing the line feed somehow. In the replaceList() put a comma between char 13 and 10 so it will catch them individually instead of only when they're together (and add another comma to the second attribute as well). Sometimes text will only have a line break (10) without the carriage return (13). -Justin ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336455 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: removing chr(10), chr(13), chr(9), chr(12)
Thank you for the help. It seems I am still missing the line feed somehow. This is an example of the text that is giving me a problem, copied straight from the db: "Laurel Burch artistic tote, JIO's cats (style 4380 Large Square Tote) is a roomy 22" by 4" by 15.5". The inside pocket combination has a zippered pocket, an open pocket, a velcro closure cell phone pocket. The front kitty design has sequins and embroidery detail. A striped pattern is on the back. Top zipper closure. Includes a carved wood, hand painted kitty hang tag. " For some reason I am not catching it. Am I missing a character that I should be replacing? This is what I have: The output to the text file still has the new line. On Sun, Aug 22, 2010 at 6:07 PM, Jason Fisher wrote: > > Depending on what you need to replace those chars with, this will simply > remove them: > > "#chr(13)##chr(10)#,#chr(9)#,#chr(12)#", ",,") /> > > (I assumed that 13 & 10 were a single EOL set, but you could add a comma > in between there and in the replacement set, if needed.) > > - Jason > > > On 8/22/2010 6:49 PM, Matthew Smith wrote: > > I am trying to write a file to be uploaded to google base. I am having a > > problem with the formatting. I'm not sure, but I think the item > description > > might have some of those characters in them. What is the easiest way to > > remove the subject line's characters? > > > > I could wrap a replace in a replace etc but that seems sloppy. > > > > Thank you. > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336454 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: removing chr(10), chr(13), chr(9), chr(12)
Depending on what you need to replace those chars with, this will simply remove them: (I assumed that 13 & 10 were a single EOL set, but you could add a comma in between there and in the replacement set, if needed.) - Jason On 8/22/2010 6:49 PM, Matthew Smith wrote: > I am trying to write a file to be uploaded to google base. I am having a > problem with the formatting. I'm not sure, but I think the item description > might have some of those characters in them. What is the easiest way to > remove the subject line's characters? > > I could wrap a replace in a replace etc but that seems sloppy. > > Thank you. > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336453 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
removing chr(10), chr(13), chr(9), chr(12)
I am trying to write a file to be uploaded to google base. I am having a problem with the formatting. I'm not sure, but I think the item description might have some of those characters in them. What is the easiest way to remove the subject line's characters? I could wrap a replace in a replace etc but that seems sloppy. Thank you. -- Regards, Matthew Smith ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336452 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT: "most important" CFML framework
So I thought I'd revisit this three months later (SEE OP for context): Integers are number of explicit "hits" on indeed.com: - Framework - 11/16 hits - 2/21 hits - 5/16 hits - 8/22 hits - FuseBox - 76 - 130 - 161 - 131 - Mach-ii - 72 - 42 - 51 - 35 - Model-Glue - 61 - 27 - 38 - 51 - ColdBox - 13 - 5 - 38 - 16 - CFWheels - 0 - 0 - 4 - 0 - OnTap - 0 - 0 - 0 - 0 - FW1 - ? - ? - 1 - 1 - All CF - ? - ? - 3523 - 3682 On Sun, May 16, 2010 at 8:34 AM, John M Bliss wrote: > So I thought I'd revisit this three months later (SEE OP for context): > > Integers are number of explicit "hits" on indeed.com: > > - Framework - 11/16 hits - 2/21 hits - 5/16 hits > - FuseBox - 76 - 130 - 161 > - Mach-ii - 72 - 42 - 51 > - Model-Glue - 61 - 27 - 38 > - ColdBox - 13 - 5 - 38 > - CFWheels - 0 - 0 - 4 > - OnTap - 0 - 0 - 0 > - FW1 - ? - ? - 1 > > - All CF - ? - ? - 3523 > > > On Sun, Feb 21, 2010 at 10:43 AM, John M Bliss wrote: > >> So I thought I'd revisit this three months later (SEE OP for context): >> >> Integers are number of explicit "hits" on indeed.com: >> >> - Framework - 11/16 hits - 2/21 hits >> - FuseBox - 76 - 130 >> - Mach-ii - 72 - 42 >> - Model-Glue - 61 - 27 >> - ColdBox - 13 - 5 >> - CFWheels - 0 - 0 >> - OnTap - 0 - 0 >> >> ...?! The heck?! FuseBox winks and says, "Rumors of my demise have been >> greatly exaggerated." Guess I'll check again in another three months... >> >> On Mon, Nov 16, 2009 at 11:32 AM, s. isaac dealey wrote: >> >>> >>> > >>> > > Free Agent >>> > > http://www.freeagent.org >>> > >>> > Just as a heads-up, that appears to be a parked domain available for >>> sale. >>> >>> Arg!... Thanks Dave. http://freeagent.riaforge.org >>> >>> Now if I can figure out how to type. ;) >>> >>> -- >>> s. isaac dealey :: AutLabs >>> Creating meaningful employment for people with Autism >>> http://www.autlabs.com >>> ph: 817.385.0301 >>> >>> http://onTap.riaforge.org/blog >>> >>> >>> >>> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336451 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm