Top "Spaces" questions

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

How do I convert a list into a string with spaces in Python?

How can I convert a list into a space-separated string in Python? For example, I want to convert this list: …

python string list spaces
How can I convert spaces to tabs in Vim or Linux?

I've looked over several questions on Stack Overflow for how to convert spaces to tabs without finding what I need. …

linux vim tabs spaces
How to cin Space in c++?

Say we have a code: int main() { char a[10]; for(int i = 0; i < 10; i++) { cin>>a[i]; …

c++ spaces cin
Show SOME invisible/whitespace characters in Eclipse

A long while back I transitioned to doing all my web application development in Eclipse from BBEdit. But I miss …

eclipse tabs spaces bbedit
Read input numbers separated by spaces

This may be a total beginner's question, but I have yet to find an answer that works for me. Currently, …

c++ input spaces
Adding whitespace in Java

There is a class trim() to remove white spaces, how about adding/padding? Note: " " is not the solution.

java whitespace space trim spaces
How do you recursively unzip archives in a directory and its subdirectories from the Unix command-line?

The unzip command doesn't have an option for recursively unzipping archives. If I have the following directory structure and archives: /…

unix recursion spaces unzip
How to copy directories with spaces in the name

I am trying to use robocopy but am unable to make it work because of spaces in the directory names. …

directory spaces robocopy
How do I set up Vim autoindentation properly for editing Python files?

I've trouble setting up Vim (7.1.xxx) for editing Python files (*.py). Indenting seems to be broken (optimal 4 spaces). I've followed …

python vim configuration spaces
Removing spaces from a variable in batch

I am writing a file to remove spaces from filenames in a folder and then put the result in a .…

variables batch-file spaces