Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Delete an item from List

Posted on 2003-12-11
2
Medium Priority
?
196 Views
Last Modified: 2013-12-24
Hi experts:

how do i find an item in the list and delete it?

the list itself is generated by a query and might have different number of elements..

for eg:

i have a list (1,2,3,4,5,6,7)

say i want to find 3 and delete it...

as i said, the list generated is different everytime.. it may not necessarily have 7 elements.. sometimes more or less.. pls help
0
Comment
Question by:adonis1976
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
CFDevHead earned 2000 total points
ID: 9922199
<cfset mylist="1,2,3,4,5,6,7"/>

<cfset mylist=listdeleteat(mylist,listfindnocase(mylist,'3'))/>
<cfoutput>#mylist#</cfoutput>
0
 
LVL 11

Author Comment

by:adonis1976
ID: 9924787
hey thanks man.. much appreciated..
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question