Adobe Community
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
ShowÂ
 onlyÂ
|
Search instead forÂ
Did you mean:Â
Global community
Language:
Deutsch
English
Español
Français
Português
日本語コミュニティ
Dedicated community for Japanese speakers
í•œêµ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Sign In
Exit
Home
ColdFusion
Discussions
Unique Element in List
Home
ColdFusion
Discussions
Unique Element in List
0
Upvote
Unique Element in List
Guest
/t5/coldfusion-discussions/unique-element-in-list/td-p/1023771
Jul 19, 2006
Jul 19, 2006
Copy link to clipboard
Copied
Hello All ,
Here is the List
1234 Z,3 | 0000 X, 3 | 1234 Z, 3 | 5555 P, 1 | 0000 X, 3 | 0000 X, 3 | 1234 Z, 3
1234 Z,3 | 0000 X, 3 | 5555 P, 1 |
i just need unique elements in the list
help would be really appreciated
TOPICS
Advanced techniques
Views
377
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
3 Replies
3
Jump to latest reply
Guest
AUTHOR
/t5/coldfusion-discussions/unique-element-in-list/m-p/1023772#M92756
Jul 19, 2006
Jul 19, 2006
Copy link to clipboard
Copied
I assume that your list is pipe-delimited. If so, the following code should get you started.
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Stressed_Simon
Engaged
,
/t5/coldfusion-discussions/unique-element-in-list/m-p/1023773#M92757
Jul 19, 2006
Jul 19, 2006
Copy link to clipboard
Copied
If you don't mind about maintaining the order then you can do the following:-
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
drforbin1970
Contributor
,
/t5/coldfusion-discussions/unique-element-in-list/m-p/1023774#M92758
Jul 20, 2006
Jul 20, 2006
Copy link to clipboard
Copied
LATEST
Unique elements as in no duplicates? Or unique elements as in only values that exist once?
Where is the data located? In a database?
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Â
Resources
Documentation
ColdFusion User Guide