hey guys!
i could use a liitle help. i am trying to get a specific value. in this
example chapter_id
ListgetAt could work, but the returned form url cold have the value in a
different oposition at any time.
i thought i could use a delimiter specifiying ,chapter_id= but that dosnt
seem to work.
I'm sure there are several ways to do this
cfset FORM.some_url =
http://somesite.com/some_display.cfm?some_id=4184chapter_id=12120passage_id=40099
/
cfset params = listgetat(FORM.some_url,2,?) /
cfset p = listtoarray(params, ) /
cfset chapter_id = 0 /
cfloop array=#p# index=i
cfif
Can you just access through the url scope?
cfdump var=#url.chapter_id#
Best Regards,
*Marty Franklin*
/Information Technology/
*Asset Research Services, Inc.*
ma...@assetresearch.com mailto:ma...@assetresearch.com
On 11/15/2012 7:28 AM, morchella wrote:
hey guys!
i could use a liitle
no need to convert it to a array (I was trying to go that route but keeping
it a list works fine too)
cfset params = listgetat(FORM.some_url,2,?) /
cfset chapter_id = 0 /
cfloop list=#params# delimiters= index=i
cfif find(chapter_id=, i)
cfset chapter_id = listgetat(i, 2, =) /
/cfif
/cfloop
its from a form field, not a url, but it is a url.
=]
On Thu, Nov 15, 2012 at 9:43 AM, Marty Franklin ma...@assetresearch.comwrote:
Can you just access through the url scope?
cfdump var=#url.chapter_id#
Best Regards,
*Marty Franklin*
/Information Technology/
*Asset Research
to convert it to a array (I was trying to go that route but keeping
it a list works fine too)
cfset params = listgetat(FORM.some_url,2,?) /
cfset chapter_id = 0 /
cfloop list=#params# delimiters= index=i
cfif find(chapter_id=, i)
cfset chapter_id = listgetat(i, 2, =) /
/cfif
/cfloop
cfdump
not sure what the listgetat 2 is doing?
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
It is treading your form.some_url value as a list separated by a
question mark. The listgetat is retrieving the second value in the
list, which are all the url name-value pairs.
On Thu, Nov 15, 2012 at 9:53 AM, morchella
morchella.delici...@gmail.com wrote:
not sure what the listgetat 2 is
gets the second item in the list (chapter_id=12345) using the = as a
delimiter
On Thu, Nov 15, 2012 at 8:53 AM, morchella morchella.delici...@gmail.comwrote:
not sure what the listgetat 2 is doing?
~|
Order the Adobe
and the first one is separating the parameters from the URL using the ?
as a delimiter.
On Thu, Nov 15, 2012 at 8:59 AM, Dean Lawrence dean...@gmail.com wrote:
It is treading your form.some_url value as a list separated by a
question mark. The listgetat is retrieving the second value in the
Hey guys thank you all for your help. I think the answer to my original
question is no ColdFusion doesn't support multiple character delimiters
however there are a few options for replacements.
Charlie, I actually have been using conditional statements like your example
for instances where I
help. I think the answer to my original
question is no ColdFusion doesn't support multiple character delimiters
however there are a few options for replacements.
Charlie, I actually have been using conditional statements like your
example
for instances where I need to use multiple character
Do this:
cfloop index=i array=#variables.exampleList.split('oat')#
...
/cfloop
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
Hi Paul,
Just fyi, CF9 added a 4th parameter (boolean multiCharacterDelimiter) to the
listToArray function:
cfloop array=#listToArray(variables.myList, 'oat', false, true)# index=i
You have a few options!
HTH,
-Aaron
I have a list that I'm trying to loop, I was wondering if it was possible
Hey Aaron, Thanks for the information. Very helpful. :)
Paul
-Original Message-
From: Aaron Neff [mailto:w...@itisdesign.com]
Sent: Friday, February 12, 2010 1:05 PM
To: cf-talk
Subject: Re: Cfloop List Multiple Charecter Delimiters
Hi Paul,
Just fyi, CF9 added a 4th parameter
[mailto:w...@itisdesign.com]
Sent: Friday, February 12, 2010 1:05 PM
To: cf-talk
Subject: Re: Cfloop List Multiple Charecter Delimiters
Hi Paul,
Just fyi, CF9 added a 4th parameter (boolean multiCharacterDelimiter) to
the listToArray function:
cfloop array=#listToArray(variables.myList
# index=i delimiters=oat
#i#
/cfloop
I would like something like the above to work, but instead it outputs all
that contain a B,O,A or a T.
Any ideas? :)
Thanks,
Paul
~|
Want to reach the ColdFusion community
multiple character delimiter.
For example..
!--- create list ---
cfset variables.exampleList = Boat,Goat,Moat,CherryPie
!--- output only the words that contain oat ---
cfloop list=#variables.exampleList# index=i delimiters=oat
#i#
/cfloop
I would like something like the above to work
Good idea, but unfortunately it didn't work. Thanks though. :)
-Original Message-
From: Phillip Vector [mailto:vec...@mostdeadlygame.com]
Sent: Thursday, February 11, 2010 5:00 PM
To: cf-talk
Subject: Re: Cfloop List Multiple Charecter Delimiters
I don't know if it would work and I'm
Ok.. then try this...
!--- create list ---
cfset variables.exampleList = Boat,Goat,Moat,CherryPie
cfset changedlist=ReplaceNoCase(#variables.exampleList#,oat,%)
!--- output only the words that contain oat ---
cfloop list=#ChangedList# index=i delimiters=%
cfset NewI=ReplaceNoCase(#changedlist
Sorry...
cfset variables.exampleList = Boat,Goat,Moat,CherryPie
cfset changedlist=ReplaceNoCase(#variables.exampleList#,oat,%)
!--- output only the words that contain oat ---
cfloop list=#ChangedList# index=i delimiters=%
cfset NewI=ReplaceNoCase(#i#,%,oat)
#NewI#
/cfloop
Again
multiple character delimiter.
I believe CF does not support that natively. Check cflib.org. I have not tried
them, but it looks like there are a few functions for multi-character delimiters
http://www.cflib.org/udf/splitMX
http://www.cflib.org/udf/split
!--- output only the words that contain oat ---
cfloop list=#variables.exampleList# index=i
cfif i contains oat#i#/cfif
/cfloop
As far as your original question regarding multiple delimiters... cfloop
does accept multiple delimiters, but the implementation is that it looks for
any of those characters
Wouldn't it be pretty straightforward and more legible to
Yes, it should not be that hard to implement and probably with less code than
one of those udf's. But the other looks elegant enough. You might see if it
does the trick first, before re-inventing the wheel.
Leigh - just to clarify, I wasn't suggesting the straightforward loop
w/conditional was more straightforward/legible than the UDFs on cflib... I
meant in general compared to some of the suggestions so far in this thread.
Not taking anything away from any the suggestions themselves... they're all
My answer was just... keep it simple :)
Always good advice :)
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
I am trying to access a string as a list to get the second half of it.
Here is the string:
#7-Bodi - 25 votes
Here is the code, but it throws an error:
cfset votestring = listgetat(detail, 2, '-')
Thanks.
~|
Adobe®
[mailto:[EMAIL PROTECTED]
Sent: Saturday, September 06, 2008 10:55 AM
To: CF-Talk
Subject: using delimiters for a list function
I am trying to access a string as a list to get the second half of it.
Here is the string:
#7-Bodi - 25 votes
Here is the code, but it throws an error:
cfset votestring
Thanks for the reply.
It turns out the first line was causing the problem. The csv first line has
header(?) ingo and the list function saw it as a list with one element.
Thank you for the help.
~|
Adobe® ColdFusion® 8
, it mimics this,
but uses too many delimiters.
For instance the word:
This_is_cool_here
Is ONE word in homesite (ie. one jump with CTRL+RIGHT), but is FOUR words in
Eclipse. This just makes the feature much less useful. I thought maybe there
was a setting for this as I feel this is very common to all
it get a
more efficient
CTRL+RIGHT / CTRL+LEFT. In HomseSite. If you do CTRL+RIGHT it
moves the
cursor to the next word. It is really useful. In Eclipse,
it mimics this,
but uses too many delimiters.
For instance the word:
This_is_cool_here
Is ONE word in homesite (ie. one jump
Ian, upon your building your parsed list, can't you just specify an obscure
delimiter like a pipe | character? I've always done it this way and been
quite effective on comma formatted numbers like you have.
I don't build the parsed list; I am reading it from a CSV file. In this
particular
I am reading it from a CSV file. In this particular case Excel
created the file.
Can't you set up a DSN with the ODBC text driver?
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to
Ian,
you can try my CSV2Query custom tag:
http://www.masrizal.com/index.cfm?fuseaction=idea.download_detailProductID=cf_csv2query
Try our live example, copy paste your CSV and see the result...
It can handle great deals of CSV problems like text qualifier inside
qualifier, or delimiter inside
Michael E. Carluen wrote:
Ian, upon your building your parsed list, can't you just specify an obscure
delimeter like a pipe | character? I've always done it this way and been
quite effective on comma formatted numbers like you have.
if I think it's gonna be an issue, I'll *OFTEN* use chr(1)
What's the best way to handle this issue in CF?
List = 'this,that,the other,1,234,Foobar,2,098'
Do I need to manipulate the delimiters?
I'm reading in a CSV file and trying to parse the data. I am finding it more
chalenging then I first expected.
--
Ian Skinner
Web Programmer
What's the best way to handle this issue in CF?
List = 'this,that,the other,1,234,Foobar,2,098'
Do I need to manipulate the delimiters?
Never mind, Yes I do. I need to remove the comma from the data elements that
have it. They need to be numbers, not strings with a comma, in CF so that I
I think there is some kind of CSV parser UDF on cflib.
I don't even want to think about how to do this, cuz it'd be freakin' hard.
For example, what if you've got a quoted value in your list with quotes
in it?
cfset list = '1,2,2,045,This would suck, he said.'
Rick
I was working on a import function last week and needed this, didn't find
anything at CFLib, but did find this one searching the old posts on this list.
Does a great job at handling such issues.
function ParseCSV(lstCSV) {
/*
Object: ParseCSV
Purpose:Include to parse a CSV
, August 22, 2006 3:56 PM
To: CF-Talk
Subject: RE: Handle lists with delimiters in the data.
What's the best way to handle this issue in CF?
List = 'this,that,the other,1,234,Foobar,2,098'
Do I need to manipulate the delimiters?
Never mind, Yes I do. I need to remove the comma from
LIST=#ReplaceList(emailtext, , )# DELIMITERS=;
CFIF #Trim(fred)# contains @ AND #Trim(fred)# contains . AND #Trim(fred)#
IS NOT
CFSET fred1 = #Trim(fred)#
CFQUERY NAME=trotest datasource=#Hitttie_Data_Source_dev#
insert into test_email
I wrote a simple email parser a while back and instead of the CHR(13) or CHR(10), I
used space as my delimiter.
Then what I did was look for the @ in each line. If the @ existed, I put it into my
list, if it didn't, I ignored that
line.
Just a suggestion
Eric
- Original Message -
FILE=D:\INETPUB\WWWROOT\wWWROOT\ADMIN_HITTITE\file_1.txt
VARIABLE=emailtext
CFLOOP INDEX=fred LIST=#ReplaceList(emailtext, , )# DELIMITERS=;
CFIF #Trim(fred)# contains @ AND #Trim(fred)# contains . AND #Trim(fred)#
IS NOT
CFSET fred1 = #Trim(fred
If you're after the emails try
cffile variable=text ...
cfset crlf = Chr(10) Chr(13)
cfoutput
cfloop list=text index=i delimiters=#crlf#
#ListLast(i, Chr(the number for tabs))#br
/cfloop
/cfoutput
This assumes tabs separate the name country and email entries.
Ade
-Original
#Chr(13)##Chr(10)# ?
- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 8:51 AM
Subject: CFLOOP, through list, delimiters help
Help,
I'm trying to extract the e-mail addresses from a text file. Here a
sample of
the text file
Make that cfloop list=#text#... instead.
Ade
-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: 03 June 2003 17:07
To: CF-Talk
Subject: RE: CFLOOP, through list, delimiters help
If you're after the emails try
cffile variable=text ...
cfset crlf = Chr(10) Chr(13
Has anyone used cfx_CSVtoQuery and TAB char successfully? Tab is chr(9)
right? I've also tried the literal TAB to no effect.
Brook
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
Is there any known tricks to providing list delimiters to the List functions?
Sometimes you can use a string as a delimiter, #ValueList()#, and other times it will
only allow you to use/accept the first character, such as #ListAppend()#. Any idears?
Tyler Silcox
email | [EMAIL PROTECTED
Commas, spaces are the obvious delimiters. If that's what you want, you
don't have to provide it.
However, if you want the pipe character (|), then all of the list
functions have the ability to provide your own delmiter:
Example:
valueList(query.columnlist,|)
listAppend(list,string,|)
etc
Is this what you are looking for? If you already have a list, you can change
the delimiter like so
ListChangeDelims(#yourList#, +)
-Original Message-
From: Tyler Silcox [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 2:20 PM
To: CF-Talk
Subject: list delimiters
. The CFML Language reference has everything you will need.
Tim Heald
ACP/CCFD :)
Application Development
www.schoollink.net
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 3:19 PM
To: CF-Talk
Subject: Re: list delimiters
Commas, spaces
But if I do this:
cfscript
MyList=ValueList(queryName.ColumnName, mystring);
/cfscript
then MyList is then equal to: Hello TheremystringGood Afternoon
Why do the List functions behave differently? Is there any rules or such to go by
when using delimiters?
Tyler Silcox
email | [EMAIL PROTECTED
]]
Sent: Thursday, May 30, 2002 3:19 PM
To: CF-Talk
Subject: Re: list delimiters
Commas, spaces are the obvious delimiters. If that's what you want, you
don't have to provide it.
However, if you want the pipe character (|), then all of the list
functions have the ability to provide
ACP/CCFD :)
Application Development
www.schoollink.net
-Original Message-
From: Tyler Silcox [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 3:48 PM
To: CF-Talk
Subject: Re: list delimiters
I am actually trying to use a string as a delimiter like
#ListAppend(MyList, MyValue
I scanned through the online CF help and it appears that all of the List
functions, including ListAppend(), accept multiple single-character
delimiters, so passing mystring means to consider m or y or s, etc.,
as delimiters. As a query function, ValueList() appears to be different and
actually
just thought I'd check with y'all to see if anyone had a
good explanation for this...
Tyler Silcox
email | [EMAIL PROTECTED]
- Original Message -
From: Timothy Heald [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 30, 2002 3:48 PM
Subject: RE: list delimiters
MyList
Yeah I saw that post. Up until now I had only tried to use single character
delimiters, except when I would generate a list for display from the db
using valueList. Very strange behavior.
Tim Heald
ACP/CCFD :)
Application Development
www.schoollink.net
-Original Message-
From: Tyler
-Talk [EMAIL PROTECTED]
Sent: Thursday, May 30, 2002 4:03 PM
Subject: RE: list delimiters
I scanned through the online CF help and it appears that all of the List
functions, including ListAppend(), accept multiple single-character
delimiters, so passing mystring means to consider m or y or s, etc
OK... So I have each record (line) of the CSV in a separate list. I now
need to loop over each record (list) and pull the individual fields out.
In order to change the commas to pipes, I'd have to know which ones to
change and which ones not to, no?
The only way I can think of involves lots of
Theres a custom tag called CFX_CSVToQuery... cant remember off hand
where i got it... probably from the Dev Exchange but can send it to you
off-list if you want...
This takes a CSV file and converts it into a CFQuery Object..
This handles commas in the fields (assuming they are within
Hey, this sounds perfect! I'm off to find it now. Thanks a lot :)
Mike Townend [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
Theres a custom tag called CFX_CSVToQuery... cant remember off hand
where i got it... probably from the Dev Exchange but can send it to
you
off-list if
temp = StructNew()
then looping over it like this:
cfset counter = 0
cfloop list=#origCSV# index=w delimiters=#chr(10)##chr(13)#
cfset counter = counter + 1
cfset temp[counter] = StructNew()
cfset temp[counter].raw = w
cfset counter2 = 0
cfloop list
this helps (and works :),
Reuben Poon
-Original Message-
From: Kay Smoljak [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 12, 2002 9:52 AM
To: CF-Talk
Subject: list delimiters
Importance: Low
I'm trying to import a CSV, do some fiddling with it, then save it off
as a file again. Some
: cameroncf
email: [EMAIL PROTECTED]
-Original Message-
From: Kay Smoljak [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 12, 2002 12:52 PM
To: CF-Talk
Subject: list delimiters
I'm trying to import a CSV, do some fiddling with it, then save it off
as a file again. Some of the fields
On 5/13/02, Kay Smoljak penned:
Which is fine, except it's not taking into account commas that appear in
the title or blurb fields. I'm sure there's a simple answer, but I'm at
a loss to see it. Any ideas?
As far as I know, ColdFusion reads commas a list delimiters, period.
It doesn't matter
On 5/12/02, Reuben Poon penned:
Kay,
You could try this (written in psudo-code)
1 replace , with ||
2 loop through items using , as delimiter
3 set || back to ,
This would remove the problem with the multiple commas and seems to be a
relatively easy solution. You should only have to add two
a list delimiters, period.
It doesn't matter if you are using qualifiers. I'd like to see that
fixed somewhere along the line by adding a Qualifier variable to the
cfloop tag. The easiest thing to do is simply create a MS Access
datasource and import the csv file. That will take 5 minutes.
What about
Anyone know how to set custom delimiters using a DSNless connection in CF?
I have the following which does work... except for the fact that it's
delimiting based on the commas(,), not the pipes (|).
cfset connectstring =
Driver={Microsoft Text Driver (*.txt;
*.csv)};Format=Delimited(|);Dbq=c
very easily. All of the tags and
functions that allow list manipulation accept a delimiters attribute or
argument, but if you specify multiple characters in that, it just means that
ANY ONE of those characters will be accepted as a delimiter!
Second, anything that can be typed in, will be typed
are you suggesting setting DELIMITER=*** will break up a string by *, **,
AND ***?
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 6:50 AM
To: CF-Talk
Subject: RE: Delimiters
Besides commas and pipes, what are the next best choices
. Here's some
sample code:
html
head
titleList parameter test/title
/head
body
cfset mylist = Larry***Curly*Moe**Shemp
cfloop index=i list=#mylist# delimiters=***
cfoutput#i#/cfoutputbr
/cfloop
br
cfset mylist = Larry~|*Curly~Moe~*Shemp
cfloop index=i list=#mylist# delimiters
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 8:55 AM
To: CF-Talk
Subject: Delimiters
Besides commas and pipes, what are the next best choices for delimiting
lists?
thanks,
Dave
===
David R Hannum
Ohio University
Web Analyst/Programmer
(740) 597-2524
[EMAIL
Besides commas and pipes, what are the next best choices for delimiting
lists?
thanks,
Dave
===
David R Hannum
Ohio University
Web Analyst/Programmer
(740) 597-2524
[EMAIL PROTECTED]
~~
Structure your ColdFusion
use a series of hard to find types.
something like: "~%~"
this will guarntee NO ONE will type it.
- Original Message -
From: "Dave Hannum" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, April 17, 2001 2:54 PM
Subject: Delimiters
syscom.com/
--
-Original Message-
From: Dave Hannum [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 8:55 AM
To: CF-Talk
Subject: Delimiters
Besides commas and pipes, what are the next best choices for delimiting
lists?
thanks,
Dave
===
David R Hannum
Ohio Univ
Message-
From: Dave Hannum [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 7:55 AM
To: CF-Talk
Subject: Delimiters
Besides commas and pipes, what are the next best choices for delimiting
lists?
thanks,
Dave
===
David R Hannum
Ohio University
Web Analyst
unprintable US-ASCII control characters, chr(30) for example
At 01:54 PM 4/17/2001, you wrote:
Besides commas and pipes, what are the next best choices for delimiting
lists?
thanks,
Dave
===
David R Hannum
Ohio University
Web Analyst/Programmer
(740) 597-2524
At 03:11 PM 4/17/2001, you wrote:
use a series of hard to find types.
something like: "~%~"
I think a sequence of characters is interpreted as a sequence of different
possible delimiters, rather than a single delimiter comprising of a
sequence of characters.
Might be wrong, but I'm
chr(7)
Justin
-Original Message-
From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 3:11 PM
To: CF-Talk
Subject: Re: Delimiters
use a series of hard to find types.
something like: "~%~"
this will guarntee NO ONE will type it.
- Origin
Hi all
Is there a command similar to Left(string, count) that is
DelemiterLeft(String,Delimeter)
DelemiterRight(String, Delimeter)
such that if I was to get a variable like
Name = Toohey,Elton
I could do
CFSET LastName = DelimterLeft(Name, ",")
CFoutput#LastName/CFoutput
would give me
lk
Subject: Delimiters...
Hi all
Is there a command similar to Left(string, count) that is
DelemiterLeft(String,Delimeter)
DelemiterRight(String, Delimeter)
such that if I was to get a variable like
Name = Toohey,Elton
I could do
CFSET LastName = DelimterLeft(Name, ",")
CFoutput#Last
check the list functions ListGetAt(list,position,delimiters) or ListFirst()
and ListLast() hit F1 for on the function name to see the explanation
- Original Message -
From: "Ethan Rosch" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Friday, February 16,
Why not LastName = ListGetAt(Name,1)
you could even do CFIF LenLen(Name) GT 1 to test if there's a comma.
Is there a command similar to Left(string, count) that is
DelemiterLeft(String,Delimeter)
DelemiterRight(String, Delimeter)
such that if I was to get a variable like
Name =
Message -
From: "Ethan Rosch" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Friday, February 16, 2001 4:20 PM
Subject: Delimiters...
Hi all
Is there a command similar to Left(string, count) that is
DelemiterLeft(String,Delimeter)
DelemiterRight(String, Delimet
2001 2:20 PM
To: CF-Talk
Subject: Delimiters...
Hi all
Is there a command similar to Left(string, count) that is
DelemiterLeft(String,Delimeter)
DelemiterRight(String, Delimeter)
such that if I was to get a variable like
Name = Toohey,Elton
I could do
CFSET LastName = DelimterLeft(Name, &qu
Probably the closest would be GetToken().
Hal Helms
== See ColdFusionTraining.com for info on "Best Practices with ColdFusion
Fusebox" training ==
-Original Message-
From: Ethan Rosch [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 4:20 PM
To: CF-Talk
Subject:
look at the ListFirst, ListLast, and ListRest functions.
chris olive, cio
cresco technologies
[EMAIL PROTECTED]
http://www.crescotech.com
-Original Message-
From: Ethan Rosch [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 4:20 PM
To: CF-Talk
Subject: Delimiters...
Hi all
I think you ment ListLen(name)?
- Original Message -
From: "Tony Schreiber" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Friday, February 16, 2001 3:52 PM
Subject: Re: Delimiters...
Why not LastName = ListGetAt(Name,1)
you could even do CFIF LenLe
PM
To: CF-Talk
Subject: RE: Delimiters...
Your variable Name is already a list, why try to deal with it as a string?
You can use all of the list functions on it. In your case,
CFSET lastName = ListFirst(Name, ",")
CFSET firstName = ListLast(Name, ",")
cfoutput#firstName# #l
ile = ListFirst(Item, ";")
CFSet Mime = ListLast(Item, ";"
/cfloop
If I can do this, I'm a happy dude!
Thanks all,
Ethan
----- Original Message -
From: "Howie Hamlin" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Friday, February 16, 2001
The ListGetAT did what I needed it to do
I'm pretty much finished with my first fusebox / module app
thanks again...
ethan
- Original Message -
From: "Ethan Rosch" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Friday, February 16, 2001 5:25 PM
Sub
Hi,
Im having a tiny problem with delimiters in a CFLOOP statement.
The problem is directly out of Ben Forta's book in CF, Third Edition,
Page 519, of "The ColdFusion Application Construction Kit".
The LINE I'm having a problem with is the follow at the top of
519 in the co
Im having a tiny problem with delimiters in a CFLOOP statement.
The problem is directly out of Ben Forta's book in CF, Third Edition,
Page 519, of "The ColdFusion Application Construction Kit".
The LINE I'm having a problem with is the follow at the top of
519 in the co
You could also try the ASCII Value of a space instead, which is #Chr(32)#
~Simon
-Original Message-
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 31, 2000 1:18 PM
To: CF-Talk
Subject: RE: HELP w/CFLOOP DELIMITERS ?
Im having a tiny problem
October 10, 2000 6:46 PM
Subject: Delimiters
How can I break apart and display a file by it's delimiter? I am =
entering multiple notes in a field with CFUPDATE and need to separate by =
the delimiter when I display in CFTABLE.
Any help appreciated!!
Mike
--=_NextPart_000_01FF_01C032EA.EDB0D8
o: CF-Talk
Subject: Fw: Delimiters
This is a multi-part message in MIME format.
--=_NextPart_000_01FF_01C032EA.EDB0D8E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
- Original Message -=20
From: Mike Weaver=20
To:
96 matches
Mail list logo