This content has been marked as final. Show 5 replies
is the CR for outputting the result on html-type page or for storing in
for html-type: add <br>
for db/text: try #chr(10)# or #chr(13)# or both together. one of them is
LF another is CR - can't recall which one is which...
Chr(10) is newline, Chr(13) is carriage return. BTW, do we all know what a carriage is? :-)
> Chr(10) is newline, Chr(13) is carriage return. BTW, do we all know what a carriage is? :-)
sure! it's a 4-wheel horse-drawn transportation device! apparently it
can be returned... presumably if you do not want it any more or if it
has become outdated... anyone knows WHERE they are returned to? :)
Obviously, all carriages are returned to the wonderous place of "Line Feed", which explains why you actually want to use #chr(13)##chr(10)# instead of vice versa.
Also, if that doesn't work for you, you can probably also just hit the enter key after your replacement string:
Thanks for the help. I'll give those ideas a try. In answer to the question, I'm copying data off of a website page with the clipboard and pasting it into a textarea and then running some CF with regex to build queries to update a database. So I just wanted to insert a line feed at the end of a string so that the next regex expression could get all that I wanted it to get with the beginning of string alignment ^.
Again thanks for the help.