Answered
Getting high and low number in a string
Hi
I have the following
<cfset thelist = "1,5,8,11,22,76,6,143,147">
How do i get the highest and lowest number out of that string?
Thanking you in advance for your help!
Regards
Delon
Hi
I have the following
<cfset thelist = "1,5,8,11,22,76,6,143,147">
How do i get the highest and lowest number out of that string?
Thanking you in advance for your help!
Regards
Delon
Use the very well named ListToArray() function .. and definitely bookmark the online documentation ;-) The functions by category view is invaluable.
http://livedocs.adobe.com/coldfusion/8/functions-pt0_13.html
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.