list delimiters question

2012-11-15 Thread morchella
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.

Re: list delimiters question

2012-11-15 Thread Greg Morphis
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

Re: list delimiters question

2012-11-15 Thread Marty Franklin
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

Re: list delimiters question

2012-11-15 Thread Greg Morphis
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

Re: list delimiters question

2012-11-15 Thread morchella
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

Re: list delimiters question

2012-11-15 Thread morchella
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

Re: list delimiters question

2012-11-15 Thread morchella
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:

Re: list delimiters question

2012-11-15 Thread Dean Lawrence
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

Re: list delimiters question

2012-11-15 Thread Greg Morphis
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

Re: list delimiters question

2012-11-15 Thread Greg Morphis
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

RE: Cfloop List Multiple Charecter Delimiters

2010-02-12 Thread Paul Alkema
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

Re: Cfloop List Multiple Charecter Delimiters

2010-02-12 Thread ColdFusion Developer
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

Re: Cfloop List Multiple Charecter Delimiters

2010-02-12 Thread Peter Boughton
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:

Re: Cfloop List Multiple Charecter Delimiters

2010-02-12 Thread Aaron Neff
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

RE: Cfloop List Multiple Charecter Delimiters

2010-02-12 Thread Paul Alkema
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

Re: Cfloop List Multiple Charecter Delimiters

2010-02-12 Thread Charlie Griefer
[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

Cfloop List Multiple Charecter Delimiters

2010-02-11 Thread Paul Alkema
# 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

Re: Cfloop List Multiple Charecter Delimiters

2010-02-11 Thread Phillip Vector
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

RE: Cfloop List Multiple Charecter Delimiters

2010-02-11 Thread Paul Alkema
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

Re: Cfloop List Multiple Charecter Delimiters

2010-02-11 Thread Phillip Vector
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

Re: Cfloop List Multiple Charecter Delimiters

2010-02-11 Thread Phillip Vector
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

Re: Cfloop List Multiple Charecter Delimiters

2010-02-11 Thread Leigh
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

Re: Cfloop List Multiple Charecter Delimiters

2010-02-11 Thread Charlie Griefer
!--- 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

Re: Cfloop List Multiple Charecter Delimiters

2010-02-11 Thread Leigh
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.

Re: Cfloop List Multiple Charecter Delimiters

2010-02-11 Thread Charlie Griefer
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

Re: Cfloop List Multiple Charecter Delimiters

2010-02-11 Thread Leigh
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:

using delimiters for a list function

2008-09-06 Thread Matthew Smith
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®

RE: using delimiters for a list function

2008-09-06 Thread Weidler, Wilfred C.
[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

Re: using delimiters for a list function

2008-09-06 Thread Matthew Smith
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

OT: Eclipse word delimiters

2006-09-11 Thread Ben Nadel
, 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

RE: Eclipse word delimiters

2006-09-11 Thread Munson, Jacob
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

RE: Handle lists with delimiters in the data.

2006-08-23 Thread Ian Skinner
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

Re: Handle lists with delimiters in the data.

2006-08-23 Thread Claude Schneegans
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

RE: Handle lists with delimiters in the data.

2006-08-23 Thread Rizal Firmansyah
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

Re: Handle lists with delimiters in the data.

2006-08-23 Thread Rick Root
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)

Handle lists with delimiters in the data.

2006-08-22 Thread Ian Skinner
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

RE: Handle lists with delimiters in the data.

2006-08-22 Thread Ian Skinner
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

Re: Handle lists with delimiters in the data.

2006-08-22 Thread Rick Root
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

Re: Handle lists with delimiters in the data.

2006-08-22 Thread Mary Jo Sminkey
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

RE: Handle lists with delimiters in the data.

2006-08-22 Thread Michael E. Carluen
, 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

CFLOOP, through list, delimiters help

2003-06-04 Thread coldfusion . developer
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

Re: CFLOOP, through list, delimiters help

2003-06-04 Thread CF Dude
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 -

Re: CFLOOP, through list, delimiters help

2003-06-04 Thread Jerry Johnson
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

RE: CFLOOP, through list, delimiters help

2003-06-04 Thread Adrian Lynch
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

Re: CFLOOP, through list, delimiters help

2003-06-04 Thread Ewok
#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

RE: CFLOOP, through list, delimiters help

2003-06-04 Thread Adrian Lynch
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

cfx_CSVtoQuery w/ TAB Delimiters

2002-11-12 Thread Brook Davies
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:

list delimiters

2002-05-30 Thread Tyler Silcox
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

Re: list delimiters

2002-05-30 Thread todd
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

RE: list delimiters

2002-05-30 Thread Ryan Kime
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

RE: list delimiters

2002-05-30 Thread Timothy Heald
. 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

Re: list delimiters

2002-05-30 Thread Tyler Silcox
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

RE: list delimiters

2002-05-30 Thread todd
]] 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

RE: list delimiters

2002-05-30 Thread Timothy Heald
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

RE: list delimiters

2002-05-30 Thread Chris Lofback
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

Re: list delimiters

2002-05-30 Thread Tyler Silcox
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

RE: list delimiters

2002-05-30 Thread Timothy Heald
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

Re: list delimiters

2002-05-30 Thread Tyler Silcox
-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

Re: list delimiters

2002-05-13 Thread Kay Smoljak
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

Re: list delimiters

2002-05-13 Thread Mike Townend
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

Re: list delimiters

2002-05-13 Thread Kay Smoljak
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

list delimiters

2002-05-12 Thread Kay Smoljak
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

RE: list delimiters

2002-05-12 Thread Reuben Poon
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

RE: list delimiters

2002-05-12 Thread Cameron Childress
: 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

Re: list delimiters

2002-05-12 Thread Bud
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

RE: list delimiters

2002-05-12 Thread Bud
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

Re: list delimiters

2002-05-12 Thread Jeffry Houser
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

Custom Delimiters with DSNless connection

2001-12-12 Thread Correa, Orlando (ITSC)
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

RE: Delimiters

2001-05-03 Thread Dave Watts
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

RE: Delimiters

2001-05-03 Thread Dylan Bromby
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

RE: Delimiters

2001-05-03 Thread Dave Watts
. 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

RE: Delimiters

2001-04-19 Thread Peter J. MacDonald
[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

Delimiters

2001-04-17 Thread Dave Hannum
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

Re: Delimiters

2001-04-17 Thread Michael Lugassy
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

RE: Delimiters

2001-04-17 Thread Lomvardias, Christopher
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

RE: Delimiters

2001-04-17 Thread Michael Caulfield
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

Re: Delimiters

2001-04-17 Thread Mark Woods
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

Re: Delimiters

2001-04-17 Thread Mark Woods
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

RE: Delimiters

2001-04-17 Thread JustinMacCarthy
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

Delimiters...

2001-02-16 Thread Ethan Rosch
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

RE: Delimiters...

2001-02-16 Thread Jason Powers
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

Re: Delimiters...

2001-02-16 Thread Bryan LaPlante
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,

Re: Delimiters...

2001-02-16 Thread Tony Schreiber
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 =

Re: Delimiters...

2001-02-16 Thread Howie Hamlin
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

RE: Delimiters...

2001-02-16 Thread Garza, Jeff
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

RE: Delimiters...

2001-02-16 Thread Hal Helms
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:

RE: Delimiters...

2001-02-16 Thread Christopher Olive, CIO
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

Re: Delimiters...

2001-02-16 Thread Bryan LaPlante
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

RE: Delimiters...

2001-02-16 Thread Larry Juncker
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

Re: Delimiters...

2001-02-16 Thread Ethan Rosch
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

Re: Delimiters...Thanks all

2001-02-16 Thread Ethan Rosch
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

HELP w/CFLOOP DELIMITERS ?

2000-10-31 Thread miles
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

RE: HELP w/CFLOOP DELIMITERS ?

2000-10-31 Thread Philip Arnold - ASP
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

RE: HELP w/CFLOOP DELIMITERS ?

2000-10-31 Thread Simon Horwith
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

Fw: Delimiters

2000-10-10 Thread Mike Weaver
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

RE: Delimiters

2000-10-10 Thread Jaime Garza
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: