Top "Line-breaks" questions

Whitespace that forces text layout to continue at the start of the next line.

How can I detect DOS line breaks in a file?

I have a bunch of files. Some are Unix line endings, many are DOS. I'd like to test each file …

python bash file line-breaks line-endings
How can I do a line break (line continuation) in Kotlin

I have a long line of code that I want to break up among multiple lines. What do I use …

syntax kotlin line-breaks long-lines
What is the best way to break HTML text on slashes (/)?

I have an HTML table 360px wide, which works great. The challenge is that sometimes a url appears http://this/…

html css html-table line-breaks
How to split text into multiple lines based on a pattern using Vim?

Suppose you have this text: name1 = "John"; age1 = 41; name2 = "Jane"; age2 = 32; name3 = "Mike"; age3 = 36; ... and you want to split each …

vim newline vi line-breaks substitution
Reduce paragraph line break height on iTextSharp

How can I reduce the height of a line break which occurs when a paragraph length is too long for …

itextsharp line-breaks paragraph
Encoding a line break in a string without using HTML

Is there a way to encode a line break into a string without using any HTML entities or tags? Specifically, …

javascript string dojo line-breaks gfx
How to make a line break on the Python ternary operator?

Sometimes a line containing a ternary operator in Python gets too long: answer = 'Ten for that? You must be mad!…

python line-breaks
How to code and print a character string formatted with line breaks?

If I have a string that contains line breaks, how can I code it in R without manually adding \n …

r string newline line-breaks formatted-text
how do I add a line break in a string?

The question is in the title. If I do this in the REPL (SML/NJ in windows commandline) val x = "…

string line-breaks sml read-eval-print-loop
CSS word wrap / line break on underscores in addition to whitespace and hyphens

I have a bunch of really long file names that cause my HTML formatting to overflow. All of these filenames …

css word-wrap line-breaks