I want to replace “\n” in Applescript. Whenever I write that, it just brings whatever is after \n to the next line. How do I do that?
set newVar to my replaceText("\n/blah-blah", "")
EDIT:
set newVar to my replaceText(linefeed, "", newVar)
log newVar
newVar still prints with \n towards the end.
This should catch them all:
using “blah\n” as oldText