RE: find a string

2007-10-19 Thread Orlini, Robert
Thanks...looks good! -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Friday, October 19, 2007 2:05 PM To: CF-Talk Subject: RE: find a string So you want whats between [ and ]? Reextract http://www.contentbox.com/claude/CustomTags/REextract/testREextract.cfm?p

Re: find a string

2007-10-19 Thread Claude Schneegans
Reextract You are taking the words from my mouth! ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

RE: find a string

2007-10-19 Thread Bobby Hartsfield
I'm sure I did... :-) ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Friday, October 19, 2007 3:43 PM To: CF-Talk Subject: Re: find a string Reextract You are taking the words

Re: find a string

2007-10-19 Thread Claude Schneegans
if the string is [1122] I want it to display only the characters after which would be 1122 In other words, all what you want is to remove the brackets? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm

Re: find a string

2007-10-19 Thread Charlie Griefer
look into the mid() function. barring an elegant regex solution, you could do: cfset myNumbers = listFirst(listLast(myString, '['), ']') / On 10/19/07, Orlini, Robert [EMAIL PROTECTED] wrote: I want to display a set of characters after a string (or in this case one chgarater) in a text file

RE: find a string

2007-10-19 Thread Bobby Hartsfield
, October 19, 2007 12:50 PM To: CF-Talk Subject: find a string I want to display a set of characters after a string (or in this case one chgarater) in a text file is found. For example, after the search finds the [ bracket, how can I tell it to display a certian amount of characters after

find a string

2007-10-19 Thread Orlini, Robert
I want to display a set of characters after a string (or in this case one chgarater) in a text file is found. For example, after the search finds the [ bracket, how can I tell it to display a certian amount of characters after this [? if the string is [1122] I want it to display only the

RE: Find a string and then italicize all after to next chr32

2002-05-20 Thread Adrian Lynch
-Original Message- From: William H. Bowen [mailto:[EMAIL PROTECTED]] Sent: 18 May 2002 00:17 To: CF-Talk Subject: Find a string and then italicize all after to next chr32 I know what I want to do but am not sure where (or how) to start Background: we have product names (most companies do; odd

RE: Find a string and then italicize all after to next chr32

2002-05-20 Thread Rich Wild
watch out for wordwrap: cfset formattedProduct = rereplacenocase(this, (e-terra)([[:alnum:]]*), b\1/bi\2/i, ALL) -Original Message- From: William H. Bowen [mailto:[EMAIL PROTECTED]] Sent: 18 May 2002 00:17 To: CF-Talk Subject: Find a string and then italicize all after to next

RE: Find a string and then italicize all after to next chr32

2002-05-20 Thread Rich Wild
: Find a string and then italicize all after to next chr32 I know what I want to do but am not sure where (or how) to start Background: we have product names (most companies do; odd that :-). A decision was made that the product name in all our literature, web sites etc

Re: Find a string and then italicize all after to next chr32

2002-05-20 Thread William H. Bowen
- From: Rich Wild [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, May 20, 2002 3:16 AM Subject: RE: Find a string and then italicize all after to next chr32 watch out for wordwrap: cfset formattedProduct = rereplacenocase(this, (e-terra)([[:alnum:]]*), b\1/bi\2/i, ALL

Find a string and then italicize all after to next chr32

2002-05-17 Thread William H. Bowen
I know what I want to do but am not sure where (or how) to start Background: we have product names (most companies do; odd that :-). A decision was made that the product name in all our literature, web sites etc. be split thusly: ProductFamilyProductFunction The ProductFamily portion of the

Re: Find a string and then italicize all after to next chr32

2002-05-17 Thread Donnie Bachan
This is off the top of my head and there may be a more elegant solution to this but you can do something like this CFSET thisVar = bmyworldisking/beverythingelse CFSET keyVal = bmyworldisking/b CFSET newVar = #left(thisVar,len(keyVal))#i#mid(thisVar,len(keyVal)+1,len(thisVar)-len(keyVal))#/i