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
0
votes
2 answers

Getting rid from last four empty lines in a string

I have an SQL file on Unix that I'm getting with PHP, cutting it from start and from the end and returning it into a textarea with AJAX. The file is: Set LINESIZE 1000 set timing on set FEEDBACK off SET PAGESIZE 50000 set COLSEP | set trim on set…
Alon Adler
  • 3,984
  • 4
  • 32
  • 44
0
votes
2 answers

Remove blank lines Powershell output

I wrote a script to find GID's in AD, this is working fine, the issue I'm having is filtering out the blank (null lines) $searcher=[adsisearcher]"(objectCategory=user)" $result = $searcher.FindAll() $result | Select-Object…
JoeRod
  • 899
  • 8
  • 20
  • 30
0
votes
3 answers

.split() creating a blank line in python3

I am trying to convert a 'fastq' file in to a tab-delimited file using python3. Here is the input: (line 1-4 is one record that i require to print as tab separated format). Here, I am trying to read in each record in to a list…
0
votes
4 answers

Multiline regex pattern to delete blank lines

/* Comments for code... */ if (...) { } I need to delete the blank line between the comment and the if: /* Comments for code... */ if (...) { } I am currently using the following regex: /\*\/\ze\n^$\n[ ]*if \*//: end of comment (*/) ^$: blank…
Madhu
  • 61
  • 1
  • 9
0
votes
1 answer

VB.NET blank records in listview

I'm trying to display items from a MS Access database into a listview but for some odd reason which i can't find out why, my listview does show all the records but it leaves some recods blank Here's the sub i use to load my items: Public Sub…
tooz
  • 53
  • 1
  • 6
0
votes
1 answer

extjs xtemplate filter blank row

I am using the following Xtemplate to filter out items by category (see view/panel in which it is "housed" below): itemTpl: new Ext.XTemplate( '', '', '
horcle_buzz
  • 2,101
  • 3
  • 30
  • 59
0
votes
1 answer

Stopping condition for when the last line of a file is blank C++

I am working on a FileReader function which does a specific function depending on the line. However the last line of the file I want to read is always blank for some reason, and that messes up my program. Is there a way I can tell the program to…
Julio Garcia
  • 393
  • 2
  • 7
  • 22
0
votes
2 answers

Collapse whitespace except multiple blank lines using regular expressions

More than once in the past I've wondered about the problem of formatting blocks of text so that all runs of whitespace are 'collapsed' into a single space, except that paragraphs should be conserved - meaning that all runs of blank lines are…
hippietrail
  • 15,848
  • 18
  • 99
  • 158
0
votes
1 answer

How to prevent a listview from adding a blank line?

Currently this is my code. TextReader reader = new StringReader(richTextBox1.Text); string[] strItems = null; while (reader.Peek() != -1) { string nextRow = reader.ReadLine(); if…
Ian Lundberg
  • 1,813
  • 10
  • 31
  • 48
0
votes
1 answer

Extra padding when using X-UA-Compatible meta tag

I have tried to use: in the section of my static html page. I am using this to assure access to newer CSS elements. This works great and I am able to use table:last-of-type in IE9…
Baxter
  • 5,633
  • 24
  • 69
  • 105
-1
votes
2 answers

Python writes extra blank line to the file

The following code adds an extra blank line ("\r") to every write, whereas it is supposed to just write one ("\r\n") at the end of every write. I have no idea why. import os with open("output", "w", encoding="utf-8") as f: for i in range(10): …
Diamond
  • 598
  • 5
  • 15
-1
votes
2 answers

Why does file.read return a blank line?

I'm making a program to login or register an account. But when I tried to read a text file to check for the username and password, file.read() returned nothing for some reason. Here is the code: def login_incorrect(): Label(loginPage,…
BluBalloon
  • 75
  • 6
-1
votes
1 answer

read blank input and even the numeric input

I tried to make a coding about read the value o sign of numers,and also I have to include the blank space as input,I could read and identify the numers' value,but I could read the blank input and give the error (exception in thread "main"…
Alex H.
  • 3
  • 1
-1
votes
3 answers

How do I test if a field is empty html

I need to find a way to tell if a field is empty, using javascript or html, here's the code:
-1
votes
2 answers

PHP - Printed blank line white no echo

I have a problem with one of my PHP class. Unfortunately, I can't post it there for privacy issues and because it is more than 4000 lines. The fact is that when I include the class in other files it prints blank space in it. I tried to include that…
1 2 3
15
16