Most voted "line-breaks" questions
36 questions
Sort by count of
-
17
votes2
answers31712
viewsWhat is the difference between " n" and " r n" (special characters for line breaks)?
For line breaking, I usually use \n. But I realize that in some cases, such as in the Sublime Text editor, some texts that I need to capture the line-breaking are only captured when I use regex…
-
13
votes1
answer1673
viewsHow to do a text break in Excel programmatically with a C check #
I am using the Microsoft.Office.Interop.Excel to create an Excel report from a txt file. Everything works perfect, but sometimes some columns become extremely large and when we need to print, it is…
-
11
votes2
answers6808
viewsWhat is the difference between Carriage Return and line feed?
There are two different ways to break a CR line (Carriage Return) and LF (line feed). What is the difference between these two? When should one or the other be used? Depends on the system? Language?…
-
9
votes3
answers14735
viewsHow to break a line of a Mysql field into an HTML page
I need to save a value with a line break in the table For example, instead of keeping: 0 anos, 3 dias Keep: 0 Anos 3 Dias I tried the following process: INSERT INTO tabela (tempo) VALUES ('0 Anos\n3…
-
7
votes3
answers520
viewsWhy do line breaks between elements cause space between them?
I was doing a few code organization here before commiting and realized that an indentation in HTML caused a problem in my layout, so I went to inspect to find out what I had done wrong besides…
-
6
votes1
answer991
viewsWhy insert a blank line at the end of the code?
Most linters from different programming languages, such as Rubocop (Ruby) and Jslint (Javascript) recommend a blank line from the end of all code files. As an example, Rubocop:…
-
5
votes2
answers3064
viewsSwap line break " n" for " r n" in Richtextbox
I have a RichTextBox that needs to count the breaks of lines as "\r\n", but she’s counting as "\n". Example: "Hello, (User squeezes Enter)world!" To RichTextBox interpret like this: "Olá," + "\n" +…
-
4
votes2
answers94597
viewsHow to break the line?
Nome = input("Digite o nome do cliente: ") DiaVencimento = input("Digite o dia de vencimento: ") MêsVencimento = input("Digite o mês de vencimento: ") ValorFatura = input("Digite o valor da fatura:…
-
4
votes2
answers4332
viewsHow to identify a line break character in C?
Problem: Sometimes I get an entry like (and the entrance continues) other times as: (and the entrance continues) That is, I can receive an integer, or two, or three, and then then receive a string…
-
3
votes1
answer9463
viewsLine break with css without <br>
I have this problem in css and I can’t solve, when the text gets too big, I can’t make this line break, I can’t use , someone has some idea? * { font-family: arial; -webkit-touch-callout: none;…
-
2
votes1
answer2597
viewsHow to do line breaking in a <li>?
How do I break a line in a text that is inside a li, and configure css to be correct? I’m trying to make a menu whose list items have a square background, but I can make the line break but the…
-
2
votes1
answer1062
viewsvisualg ladder break line
I’m having trouble with the code to break the line. I need to create a ladder that looks like below: # ## ### #### ##### If I write ("#") it breaks the line, but the end result is like this: # # # #…
-
2
votes2
answers684
viewsHow to detect line breaking in Python input?
I need to read test cases of the following format: 3 1 2 3 4 52 2 1 87 10 51 32 1 36 21 34 32 12 34 45 200 (... 200 numeros separados por espaço) and so on, where the first number indicates the…
-
2
votes2
answers1499
viewsRemove all line breaks from just one column of a csv file on Linux
I have a file csv with more than 500k of lines and need to remove line breaks from just one column efficiently in addition to deleting all the links it contains, a snippet of the file:…
-
2
votes1
answer29727
viewsHow to insert line break in javascript
My code has a Textarea, in it I send some messages, but when I jump a line, when receiving this message the line break is ignored currently I use the following command in my javascript function to…
-
1
votes1
answer527
viewsHow to break at the end of the checkbox line
The courses are coming out without formatting, there are more courses and are not appearing on the registration screen. How to break this in XHTML? Code: <h:panelGrid columns="2"…
-
1
votes1
answer144
viewsIs it a mistake in Unity or does it not interfere with the program?
This error appeared in Unity would like to know what is error and how to solve it There are inconsistent line endings in the 'Assets/Scripts/teste.Cs' script. Some are Mac OS X (UNIX) and some are…
-
1
votes1
answer309
viewsI have a bug in the scanf
I have to read N lines with one of the following 3 formats: "P k": the letter P followed by k being k an integer number; "A k": the letter To followed by k being k an integer number; "Q": the letter…
-
1
votes2
answers11636
viewsLine breaking in Excel (2013) via formula
How to break line in formula in Excel 2013 (above)? I used to do it this way: ="linha1"&CARACT(13)&CARACT(10)&"linha2" Current result: linha1linha2 Expected result: linha1 linha2…
-
1
votes3
answers2423
viewsHow to break line between CSS tags
I would like to know how to break the line between tags of the same type Ex: I have several Abels and I want to break the line between them, but in a way that I do once for all
-
1
votes1
answer46
viewsText not inserting line break
I did a search and found no post about the problem I’m facing. I’m running a database search and writing on the screen what I find. But when the text is displayed it is not inserting line break, so…
-
1
votes1
answer86
viewsPreserve line breaking when Replicate val() content in span
Good afternoon, according to this topic - /questions/203969/replicar-conte%C3%Bado-de-val-em-span I have the following code $('textarea.skills_knowledge').blur(function() { var skills_knowledge =…
-
1
votes0
answers29
viewsExplode function does not work with 2 line breaks
I have the following problem, I have a text/string in stanzas, example: t is a long established Fact that a Reader will be distracted by the readable content of a page when Looking at its layout. t…
-
1
votes1
answer69
viewsJquery - Add element to each certain amount of other elements
I need to add a tag breaking (<br> or <hr>) each quantity of <div> dynamically arising. For PHP, i group 10 records by <div>, that is, every 10 records creates a <div>…
-
1
votes1
answer53
viewsWhy does the text skip to the bottom line?
Hello! I am doing a dynamic email signature and would like to put some "buttons" and etc. I made one with the function of showing the second number of the company, but when clicking on it the text…
-
0
votes1
answer27536
viewsHow to include or remove enter, line break, new line from a string - Postgresql
How to remove or include "line break", "enter", "new line" from a string result in postgres. The result is: comentário Texto do comentário Mais texto And I want to: comentário Texto do comentário -…
-
0
votes2
answers9847
viewsHow to remove this line break?
I have a page that uses a text editor of type 'wysiwyg' which in the case is a textarea element, this generates an html code for text that the user type, I save the value of this field in onblur of…
-
0
votes1
answer87
viewsInsert line break based on number of characters avoiding cutting words
I’m starting in Python and I’m struggling with something relatively simple that I’m not able to accomplish, I’d like to add a line break in a string every 13 characters without cutting the words in…
-
0
votes1
answer1421
viewsLine Breaking in txt file - Python
I am with a file selects the main words cited in the code I prepared. Put it in my file .txt it loses the line breaking that would be the most important for this document. Code: f =…
-
0
votes1
answer162
viewsSerialport node reading data without line break
I am working on a project with serial data reading, using the Node Serialport library, but when printing the data on the console I have the data broken in several lines, example: send = "1000", I…
-
0
votes2
answers152
viewsWay not to break a line when creating an input element
I started a project in HTML, CSS and Javascript and came across the following situation: when I create an input element in html it automatically skips a line in relation to the other elements, I…
-
0
votes1
answer95
viewsSkip line in a function with implementation
I created a function pularLinha() so you don’t have to keep repeating <br> constantly, however to make the line jump more than once inside the function mostra(), I call pularLinha() twice.…
-
-1
votes1
answer1961
viewsJtextfield does not interpret n as line breaking
When printing customer data in Jtextfield, when the \n is present means a line break, but instead of moving to the next line each time you find a \n, he simply ignores and continues to write in…
-
-1
votes0
answers11
viewsRegex: How to remove line breaks after commas
Editing documents in ". txt" with texts in Notepad++, I notice that there are several snippets where there is a line break after a middle sentence comma. Ex: "John was moving to work,"line breaking"…
-
-1
votes1
answer60
viewsBreaking text using div
I need the text to break automatically and continue to show below the number. .circulo{ border: 1px solid #000; border-radius:25px; width:25px; height:25px; text-align:center; vertical-align:…
-
-2
votes1
answer154
viewsHow to insert a line break into an appendchild, is it possible?
Do I need a line break after an appendchild or would it be after input? I’m a beginner in JS and I’m a little lost on how to make this line break. var inp1 = document.createElement('input') var inp1…