Questions tagged [blank-line]

Blank-Line refers to any existence of an empty line of data or the creation of an empty line on a form created by the *enter* or *return* keys.

Blank-Line, when referring to data, is used in the description of any record in a table/query where data does not exist. This could be in reference to creating a blank line of data, or determining where a blank line of data exists.

Blank-Line, when referring to a form, is used in the description of any line which contains nothing but white space. This could be in reference to shifting data downward or upward in a form or report, or shifting controls downward or upward in a form or report.

237 questions
2
votes
2 answers

Insert multiple blanks every n rows

I am trying to insert multiple blank lines after every n row in a data file. So far I have this line which inserts 1 blank line after every 1 row: awk '1 ; !(NR % 1) {print "";}' in.file >> out.file And then I try to loop it so I insert 10 lines…
simod
  • 23
  • 4
2
votes
3 answers

R - How to extract text between string and blank line?

I am using readLines to read the content of the following text file: *--------------------------------------------------------------------* * 7. Measured data * * And option to force measured LAI…
thiagoveloso
  • 2,537
  • 3
  • 28
  • 57
2
votes
3 answers

How can my XSLT filter avoid leaving blank lines in output XML when deleting elements, without changing indentation otherwise?

I am writing an XSLT filter which reads an XML file, and generates a shorter XML file with some selected elements (and all their children) removed. So far, my filter gives me output which is valid, well-formed XML, but it has blank lines where the…
Jim DeLaHunt
  • 10,960
  • 3
  • 45
  • 74
2
votes
3 answers

How can I ignore a blank line in a srt file using Java

I have a srt file like below and I want to remove blank line : in line no 3 ** 1 Line1: 00:00:55,888 --> 00:00:57,875. Line2:Antarctica Line3: Line4:2 Line5:00:00:58,375 --> 00:01:01,512 Line6:An inhospitable wasteland. ** …
mohsen.nour
  • 1,089
  • 3
  • 20
  • 27
2
votes
3 answers

Checking for blank lines before PHP opening or closing tag

I have an error in my WordPress website (XML parsing error) because there is a blank line before the . Probably this is caused by a blank line in one of the theme or plugin files before the PHP opening tag .…
BasC
  • 104
  • 2
  • 13
2
votes
1 answer

scrapy, I am trying to remove empty lines that are extracted to a csv file

I am extracting data from one page, I have to go deeper of course but I am still stuck on that first page. This is my code: from scrapy.contrib.spiders import CrawlSpider from scrapy.selector import HtmlXPathSelector from street.items import…
Upment
  • 1,581
  • 3
  • 15
  • 28
2
votes
1 answer

How to remove blank lines in text file python?

In my python script, I write specific columns from a text_file to a new_text_file separated by , because the new_text_file will later become a csv_file. There are white space lines left over in the new_text_file because of lines I skipped writing…
hjames
  • 439
  • 5
  • 12
  • 19
1
vote
2 answers

Eclipse PyDev auto-import malfunctioning

I've been trying to get used to pydev for a couple of days now, and I really like it, but if I keep the auto-import option on, it keeps importing for example from test.test_iterlen import len (and many others) whenever I want a len(something) even…
SuperLemon
  • 751
  • 1
  • 7
  • 23
1
vote
1 answer

Erase / Filter rows with info from the ones in blank

I have this data in a Google Sheet, basically is a dynamic table that will have more information or could change in a future with more or less rows, in the same image at the right you will see what I need, I was thinking about use BLANK but is…
user16239103
1
vote
3 answers

VBA to find a blank row, then copy two rows above it, then move to the next blank row

Suppose you have Excel data in the format Row A Row B Row C blank row Row X Row Y Row Z blank I would like to 1) go to the row with the blank 2) copy the entire contents of the two rows above 3) paste the contents. In the above example, the…
dmt
  • 11
  • 2
1
vote
1 answer

React try to use a textinput but nothing appears

I'm trying to put in place this thing : https://callstack.github.io/react-native-paper/2.0/text-input.html But it doesn't appear. I have no error but nothing is visible : i got a blank. I think this is due to the fact that i don't use a class, but i…
Zarkoffe
  • 39
  • 6
1
vote
1 answer

Exporting to CSV without formatted blank values

I have a .xlsm with data tabs that's designed to auto populate some cells with data and then export those rows to a CSV file, however when I run my code it copies the entire active range including the cells that have been formatted to be blank and…
Ace
  • 13
  • 4
1
vote
0 answers

wkhtmltopdf 0.12.6 blank line

wkhtmltopdf version(s) affected:0.12.6 (with patched qt) OS information Ubuntu 20.04 focal Description A blank line appears randomly, its a big file with thousands of lines like this, I searched for a solution but the issue was close and solved on…
1
vote
2 answers

CSV file created with VBA has blank row(s) at the end even if cells are empty

I am adding some data in the first column of a worksheet and am using this code Sub createCSVfile() Dim xRg As Range Dim xRow As Range Dim xCell As Range Dim xStr As String Dim xTxt As String Dim xName As…
1
vote
2 answers

What are some other alternatives to getting rid of the extra blankline?

I'm using a for loop and it concatenates a string as such: list1 = ["Hi","There"] final = "" for item in list1: final += item + "\n" It prints out: Hi There #extra space here instead of comment Now I know the solution where you do for i in…
user13153546