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
What is the best way to get the true lenght of a l...
Home
ColdFusion
Discussions
What is the best way to get the true lenght of a l...
0
Upvote
What is the best way to get the true lenght of a list
Newsgroup_User
LEGEND
,
/t5/coldfusion-discussions/what-is-the-best-way-to-get-the-true-lenght-of-a-list/td-p/976976
Aug 22, 2006
Aug 22, 2006
Copy link to clipboard
Copied
Counting all the elements, including the empty ones?
Do I need to modify the list to put some throwaway character to get all
the elements counted, or is there a better way?
For Example: listLen("This is an Element,,") needs to equal 3.
TOPICS
Advanced techniques
Views
234
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
2 Replies
2
Jump to latest reply
Guest
/t5/coldfusion-discussions/what-is-the-best-way-to-get-the-true-lenght-of-a-list/m-p/976977#M89140
Aug 22, 2006
Aug 22, 2006
Copy link to clipboard
Copied
Would counting how many delimiters there are in the list help?
Good luck!
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
Newsgroup_User
AUTHOR
LEGEND
,
/t5/coldfusion-discussions/what-is-the-best-way-to-get-the-true-lenght-of-a-list/m-p/976978#M89141
Aug 22, 2006
Aug 22, 2006
Copy link to clipboard
Copied
LATEST
maybe this UDF:
http://www.cflib.org/udf.cfm?id=961
Or this one:
http://www.cflib.org/udf.cfm?id=507
HTH
--
Tim Carley
www.recfusion.com
info@NOSPAMINGrecfusion.com
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