Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js find first line break in string

var firstLine = theString.split('
')[0];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #find #line #break #string
ADD COMMENT
Topic
Name
3+5 =