Re: Strip multiple words from string

2004-05-16 Thread DougF
Thanks Claude, Taking your suggestion I put this function together. My effort works in a simple way, but it is not a total solution to my problem... What I'm attempting to do is stitch together a number of different strings to create a keyword list. After the strings are assembled I need to strip

Re: Strip multiple words from string

2004-05-16 Thread DougF
Sorry should have said: Is there a way to do this with 'OUT' having to specify the words/phrases to search for -Doug - Original Message - From: DougF [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, May 16, 2004 12:02 PM Subject: Re: Strip multiple words from string Thanks

Re: Strip multiple words from string

2004-05-16 Thread DougF
= .,?!;:%$'/|[]{}() cfif not ListFindNoCase(keywords, w) cfset keywords = ListAppend(keywords, LCase(w)) /cfif /cfloop cfoutput pre s:#s# keywords: #keywords# /pre /cfoutput - Original Message - From: DougF [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, May 16

Re: Strip multiple words from string

2004-05-16 Thread DougF
- Original Message - From: Jim McAtee [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, May 16, 2004 2:25 PM Subject: Re: Strip multiple words from string Just consider that there may be a big difference in the algorithm and the processing time between the two approaches of

Re: Inserting rows into a 2d array

2003-11-18 Thread DougF
Thanks Ian, - Original Message - From: Ian Skinner [EMAIL PROTECTED] Sent: Monday, November 17, 2003 11:06 PM Subject: Re: Inserting rows into a 2d array What took me a little to get my head around, when I first learned Cold Fusion Arrays, is that, when you have a two dimension Array,

Re: Inserting rows into a 2d array

2003-11-18 Thread DougF
(sorry sent last message before it was finished) Thanks Ian, What took me a little to get my head around, when I first learned Cold Fusion Arrays, is that, when you have a two dimension Array, it does not have to be a grid or table.It is more proper to visualize it as a one dimension array,

Re: Inserting rows into a 2d array

2003-11-17 Thread DougF
of the array. Any ideas? Doug - Original Message - From: DougF [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, November 16, 2003 8:06 PM Subject: Inserting rows into a 2d array Hi all, Need some help with inserting rows into a 2d array. As an example I populate an array

Re: Inserting rows into a 2d array

2003-11-17 Thread DougF
Thanks Dave, here is what I've discovered. Further ideas appreciated. Doug - Original Message - From: Dave Watts [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, November 17, 2003 9:16 AM Subject: RE: Inserting rows into a 2d array Alternatively, why not just order the data

Re: Inserting rows into a 2d array

2003-11-17 Thread DougF
A great CF Array learning experience... The Macromedia documentation skilfully avoids mentioning the manipulation of multi-dimensioned arrays. It seems that you can create multi-dimensional arrays but can not manipulate them (like you can with one dimension arrays). Going to take another look at

Re: Inserting rows into a 2d array

2003-11-17 Thread DougF
Thanks Dave. Not having much knowledge of CF arrays I'd be interested in examples of how to go about inserting two associated elements between two other associated elements arrays. Example: [first][1] + [first][2] [second][1] + [second][2] [first][1] + [first][2] [NewElement][1] +

Re: Inserting rows into a 2d array

2003-11-17 Thread DougF
Thanks Dave. Just what I was fishing for... As a visual learner I need an example to help understand the concept. Here is what I have come up with. Tested, works, and solved my problem. - cfset My2DArray = ArrayNew(2) cfloop index=row from=1 to=#query.RecordCount# CFSET

Inserting rows into a 2d array

2003-11-16 Thread DougF
Hi all, Need some help with inserting rows into a 2d array. As an example I populate an array with values cityName and LocationID from a query. I then need to insert a new ROW between row 4 and row 5. In essence shifting rows 5 and below down one row. I'd thought of appending to the array, then

separating alpha groups in query results

2003-11-14 Thread DougF
Want to insert a blank line separator at the start of each new alpha letter group in a looped display query result. Any suggestions? DougF - Example: Ajo Amado Apache Junction Arizona City Ash Fork blank line here Benson Bisbee Black Canyon City blank line here Camp Creek

Re: separating alpha groups in query results

2003-11-14 Thread DougF
Thanks Ian, Got it to work with: --- cfset firstLetter = A cfloop query=get_location cfif Left(city_name,1) NEQ firstLetter nbsp; cfset firstLetter = left(city_name,1) /cfif cfoutputp#city_name#/p/cfoutput /cfloop --- DougF [Todays Threads] [This Message] [Subscription

Re: separating alpha groups in query results

2003-11-14 Thread DougF
New problem... The query results are displayed across the page in four columns. When the spacer is inserted it creates a blank line across all four columns rather than just in the associated column. Is there a way to insert the spacer only in the associated column? DougF

SES dummy file names

2003-08-14 Thread DougF
What would the best SES friendly replacement for spaces in a string being used as a dummy file name. SESconverter.cfm is being used on a FB3/CF5 application? Should the space be REReplaced with an underscore, a dash, or...? Example: String: Kirk Creek National Forest Dummy file name:

Remote JS test

2003-08-14 Thread DougF
CF5/FB3 I use a remote JS call and occasionally the URL for the script is dead or very slow causing the page to choke. Any ideas how to test the remote server and skip or time out the embedded JS if the remote server isn't responding? Doug