Top "Whitespace" questions

Whitespace, or white space, is often used to refer to any combination of spaces, tabs, and new lines which create blank space between text, either horizontally or vertically.

Atom text editor remove trailing whitespace on save

I use Sublime text. Now I am trying Atom. When I save any file in sublime text it does not …

save whitespace sublimetext3 removing-whitespace atom-editor
Ruby split by whitespace

How can I write a Ruby function that splits the input by any kind of whitespace, and remove all the …

ruby split whitespace
Setting Vim whitespace preferences by filetype

At my work, I am required to follow the house style for indentation, which goes as follows: 2 spaces when coding …

vim whitespace preferences
remove white space in bash using sed

I have a file that contains a number followed by a file path on each line for a large amount …

bash unix sed whitespace uniq
whitespace nowrap on span

In this case: <td> Some Text <span class="Icon"></span> </td> I …

html css whitespace nowrap
How to preserve whitespace indentation of text enclosed in HTML <pre> tags excluding the current indentation level of the <pre> tag in the document?

I'm trying to display my code on a website but I'm having problems preserving the whitespace indentation correctly. For instance …

html whitespace indentation pre
How to show/reveal hidden or invisible characters in NetBeans?

How can you show/reveal hidden characters in NetBeans? In other editors, if this feature is turned on, a space …

netbeans whitespace
How can I eliminate spacing between inline elements in CSS?

I have a div with a bunch of image tags inside, here is an example: <div style="margin: 0; padding: 0; …

html css whitespace removing-whitespace
Javascript Regex - What to use to validate a phone number?

Could anyone tell me what RegEx would work to validate an international phone number including white space between the numbers …

javascript regex validation whitespace phone-number
Cocoa - Trim all leading whitespace from NSString

(have searched, but not been able to find a simple solution to this one either here, or in Cocoa docs) …

cocoa nsstring whitespace trim