Questions tagged [linefeed]

Linefeed, also known as LF, is a character that controls the switching to the next line.

Linefeed, also known as LF, is a character that controls the switching to the next line.

303 questions
0
votes
1 answer

Access 2013 Report - Chr(13)+Chr(10)

I am moving a database to Access 2013. I have a report with a textbox. In the textbox, I have: ="The individuals on the following pages have not filed a Statement of Economic Interests as of " & [Enter As Of Week Day and Date (Example: Monday, May…
user3033348
  • 145
  • 13
0
votes
4 answers

Oracle SQL: How to replace a character in an existing VARCHAR2 field with CR/LF

SOLVED: Thanks folks! I'm selecting from a field that has a bunch of ugly jammed-together text where each 'section' ends in a semi-colon. What's the method to replace the semi-colon with line-feed 0d0a (crlf) "non-printable" characters? I've…
Allen
  • 21
  • 1
  • 4
0
votes
1 answer

How to preg_replace from indentifier to end of text with CR(LF) characters

I'm trying to split a piece of text (actually html) into two pieces, a top and bottom part. An 'identifier' (<--#SPLIT#-->) in the text marks the position to split. To get the upper part I have the following preg_replace that does work: $upper =…
Han Timmers
  • 35
  • 1
  • 6
0
votes
4 answers

How to add a line feed after each digit that came before a letter

i have a string like that: String s ="6,44 6,35 +0,63asd 4,27fgh 4,14 45,6 +777,4cvbvc"; I want to insert a line feed into those points between every digit and letter like: +0,63(here must be a line break)asd. I wrote the code below but it…
ThePhoenix
  • 13
  • 5
0
votes
0 answers

How can I include characters with my row delimiter of line feed? Java / Talend

I have data that contains carriage returns. For that reason, I need a more complex row delimiter than just /n The delimiter I would like to use is |~/n. I have tried that, |~ + /n, and |~/n. None have worked! Can someone suggest a syntax for this…
bheltzel
  • 131
  • 1
  • 2
  • 10
0
votes
1 answer

Linux - Remove line feed

Is there a way to use linux command to remove the LF's displayed below. Each row should begin with string 'F|'. Unfortunate multiple rows in my Oracle db are stored with hex 0a LF which at spool causes linebreaks. Thanks $grep -nvB 1 '^F|'…
MrM
  • 389
  • 1
  • 8
  • 23
0
votes
1 answer

Read text-file in C++ with fopen without linefeed conversion

I'm working with text-files (UTF-8) on Windows and want to read them using C++. To open the file corrently, I use fopen. As described here, there are two options for opening the file: Text mode "rt" (Carriage return + Linefeed will automatically…
Alexander Pacha
  • 9,187
  • 3
  • 68
  • 108
0
votes
0 answers

Amazon Redshift error using COPY from CSV - line feed inside quotes

I'm using COPY to import MySQL data into my Redshift database. I've run into an issue where I have JSON data in a table and it fails to COPY, saying "Delimited value missing end quote". So I start digging into this, and I experiment a little. I made…
0
votes
1 answer

exporting access query to text file line feed

I am creating a sql query for an access database that will be exported to a text file. The requirements include a line feed separating each line. Does that happen by default, or its something that I need to add in? If I need to add it, how do I do…
user228058
  • 465
  • 1
  • 7
  • 22
0
votes
1 answer

How to change Unix Line feed to Windows Line Feed with C#

I'm trying to write a unix2dos program to alter the line feeds of text files. The problem is instead of altering the contents of a text file, the file name was appended instead. using System; using System.Collections.Generic; using…
shaiToro
  • 137
  • 1
  • 3
  • 10
0
votes
2 answers

Properly overwrite current line in terminal

In most terminals, if you haven't printed a newline character (or line feed; \n), printing a carriage return (\r) will reset your cursor to the beginning of the line so that subsequent characters overwrite what you've already output on the current…
joshlf
  • 21,822
  • 11
  • 69
  • 96
0
votes
1 answer

Line feeds being replaced with string

I'm trying to append a character string from a variable to the end of lines in a CSV. However, line feeds are being replaced by the string. So if the original line is: fieldcharacters1,fieldcharacters string starts on one line and continue after a…
Lizz
  • 1,442
  • 5
  • 25
  • 51
0
votes
1 answer

vb.net how to get rid of unwanted vblf char

Hi everyone can someone explain to me why he vblf character keeps getting in my string please? i use this code so i don't have to check if the http:// already exists in the string with an 'if' url1 = "http://" +…
user3781458
  • 71
  • 1
  • 2
  • 8
0
votes
3 answers

RichTextBox not showing formfeed character

I have a text file that, when I open it in Notepad, shows the form feed character (byte 12). I want to show this character in my richtextbox but no matter which encoding I use when I read the text file it won't show. When I enter the character…
user2320861
  • 1,391
  • 2
  • 11
  • 28
0
votes
0 answers

Add line feed between attributes in XML using C#

I have tried to put line break between my specific XML attribute, but with no success so far. Basically, I need something like this: I made some tests…
Warvimo
  • 35
  • 8