Top "Spaces" questions

The space character, `U+0020`, used to separate words/tokens in most natural and programming languages.

Python's interpretation of tabs and spaces to indent

I decided, that I learn a bit of Python. The first introduction says that it uses indentation to group statements. …

python tabs indentation spaces
Auto-convert tab to 4 spaces in TextWrangler?

Is there a preference in Textwrangler to redefine a tab as 4 spaces? In Vim this is set expandtab in the …

tabs spaces textwrangler bbedit
Deleting tabs when using tabs as spaces

I know that the general tabs vs spaces thing is as old as the hills and mostly comes down to …

visual-studio tabs spaces typing
Selecting a database in mysql with spaces in its name

I want to select my particular database in mysql console, but the problem is that my database name has a …

mysql database console spaces
^a-zA-Z0-9 excluding spaces?

I am trying to find everything in a paragraph that is not abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 and not space / /gi /[^a-zA-Z0-9]|[^ ]/gi …

regex spaces
Handle spaces in argparse input

Using python and argparse, the user could input a file name with -d as the flag. parser.add_argument("-d", "…

python command-line-arguments user-input argparse spaces
Java String trim has no effect

Java String trim is not removing a whitespace character for me. String rank = (some method); System.out.println("(" + rank + ")"); The …

java string unicode trim spaces
How do you import a file in python with spaces in the name?

Do I have to take out all the spaces in the file name to import it, or is there some …

python import filenames spaces
replace spaces with _ in php

i am trying to replace spaces with underscore '_' in the following variable $e_type = 'Hello World TEST'; can …

php spaces
std::cin skips white spaces

So I am trying to write a function to check whether a word is in a sentence, by looping through …

c++ cin spaces