eol/eof

kristalchimera
kristalchimera used Ask the Experts™
on
i was trying to loop over a list that has ^ for delimiters. does anyone know what i cud use to set the end of line or end of file as a delimiter as well.

e.g.

<cfloop index="i" list="#fileThree#" delimiters="^">

i have tried $ but it doesnt seem to work.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Hi Can u send me the list that ur using !

this shld be easy !

K'Rgds
Anand

Commented:
for end of line u can use #chr(13)#
Commented:
The easiest way to do this would probably be to replace the end of line with your delimiter.

<cfset fileThree = Replace(#fileThree#,"#chr(13)#","^")>

Author

Commented:
cool, thats wht i did too.

thks 2 all :)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial