gsr
06/02/2024, 9:44 PMWed 6:00 PM - 6:45 PM F i 6:00 PM - 6:45 PM Sat 10:15 AM - 11:15 AM Sun 4:00 PM - 4:45 PM Sun 5:00 PM - 5:45 PM Wed 7:00 PM - 7:45 PM F i 7:00 PM - 7:45 PM Sat 11:15 AM - 12:15 PM
please note here, the r
is missing is fri
and other issues
data is database is stored:
Wed 6:00 PM - 6:45 PM <br> Fri 6:00 PM - 6:45 PM <br> Sat 10:15 AM - 11:15 AM <br> Sun 4:00 PM - 4:45 PM <br> Sun 5:00 PM - 5:45 PM <br> Wed 7:00 PM - 7:45 PM <br> Fri 7:00 PM - 7:45 PM <br> Sat 11:15 AM - 12:15 PM <br>
danmurphy
06/02/2024, 10:27 PMgsr
06/02/2024, 10:31 PMMonte Chan
06/03/2024, 12:40 AMAdam Cameron
Delimiters Optional Characters that separate list items.My emphasis. They're character delimiters, not a string delimiter. It's always important to read the docs when... using functionality. Second: I reckon you probably could have worked this out for yourself if you spent even a small amount of time reasoning through what you were seeing. Third: I'd not loop over a list here (I'd never use a list as a collection type). I'd convert the string to an array, especially as
listToArray
handles multi-char delimiters.
https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-l/listtoarray.html
https://trycf.com/gist/14280373e3fc29f2ee4f522e6f534f1c/acf2023?theme=monokai
The important one here is the second point: debug yer code. Which would involve the first point: read the docs.