I have a form with two fields. The intent is that a user can paste data into textfield1, and textfield2 will rewrite and reformat it in such a way that it can be reused in another application. I've been able to successfully alter everything except when the data in textfield1 has linebreaks. I need:
string1
string2
string3
to be rewritten in textfield2 as "string1XXXstring2XXXstring3".
translate(textfield1,@crlf,"XXX") won't work since translate is one-to-one characters.
Any solutions are greatly appreciated, no code solutions even more so!