In original Contacts
, Tim Barr for example, I see that his address is written in the Street
field like this :
2335 N. Michigan Avenue, Suite 1500
Chicago, IL 60601, USA
I tried to remove the new line of this textArea
with several differents replace methods but nothing of them works :
street.replace('\n', ' ');
street.replace('\\n', ' ');
street.replace('\r\n', ' ');
street.replace('\\r\\n', ' ');
What's the correct syntax ?