How do I get rid of returns in a Text varible?
I tried this:
repeat with i = 1 to text.char.count
if text.char = RETURN then delete text.char
end repeat
This doesnt seem to work. In the debugger the returns come up as "|" so I tried that with no luck either. Make the returns go away! I want to turn a multiline file into a single line one, basically.
I tried this:
repeat with i = 1 to text.char.count
if text.char = RETURN then delete text.char
end repeat
This doesnt seem to work. In the debugger the returns come up as "|" so I tried that with no luck either. Make the returns go away! I want to turn a multiline file into a single line one, basically.