Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

Split text on blank lines on Windows and Mac

$
0
0

Hi,

When I want to split the text by line, I'm using:

myText.split(/\n|\r/); 

I'm using Windows and to split the text by empty line I'm using:

myText.split('\n\n'); 

and it's works fine on Windows.

Can anyone tell me will it work on a Mac?

Thanks


Viewing all articles
Browse latest Browse all 2143

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>