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
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.
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
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
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
, 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
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
-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
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
: 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
-
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
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
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
13 matches
Mail list logo