# Все вопросы: [whitespace]

123 вопросов

похожие теги: removing-whitespace
7ответов
23482 просмотров

### How to Take whitespace in Input in C

I wanted to take character array from console and it also include white spaces, the only method i know in C is scanf, but it miss stop taking input once it hit with white space. What i should do? Here is what i am doing. char address[100]; scanf("%s", address);

6ответов
17168 просмотров

### Preserving whitespaces in a string as a command line argument

I'm facing a small problem here, I want to pass a string containing whitespaces , to another program such that the whole string is treated as a command line argument. In short I want to execute a command of the following structure through a bash shell script: command_name -a arg1 -b arg2 -c "arg...

4ответов
2553 просмотров

### How to call WSDL2JAVA from ant with whitespaces in my path

HI guys! I try to call Axis2 WSDL2JAVA in my ant file to create a WSDL client. But it's broken because I have whitespaces in my path (I'm on Windows...). This is my ant &lt;property name="wsdl.file" location="C:\path with whitespaces\project\subdir\my.wsdl"/&gt; ... &lt;target name="generate.cl...

1ответов
1324 просмотров

### JavaScript Whitespace Syntax Error

Why does this cause a syntax error for the return statement: var FOO = (function($) { return { init: function() { } } })(jQuery); Whereas this doesn't: var FOO = (function($) { return { init: function() { } } })...

3ответов
533 просмотров

### How to reformat space delimited lines of text into separate <div> tags in C language?</div>

I need to be able to (in C language) loop over a few lines of text where each line has some text in it where words are delimited by a variable number of white spaces. How can I detect the spaces and split each line into some kind of array so that I can put each word in a separate word tag in each...

3ответов
18882 просмотров

3ответов
1369 просмотров

### Using an emsp; in Internet Explorer 6

As I have a background in the publishing industry, I prefer to use fixed-width spaces like em spaces. However, IE6 displays a box when I use &amp;emsp;, which really bugs me. Can I do a javascript replace just for IE6, or should I just not use em spaces? Edit Just to prove that it's not just my ...

11ответов
341801 просмотров

### How do you allow spaces to be entered using scanf?

Using the following code: char *name = malloc(sizeof(char) + 256); printf("What is your name? "); scanf("%s", name); printf("Hello %s. Nice to meet you.\n", name); A user can enter their name but when they enter a name with a space like Lucas Aardvark, scanf() just cuts off everything after...

3ответов
109 просмотров

### GUI border dilemma

I have this dilemma about designing/programming border or gap widths in an application of mine. I'm using Swing but this is sort of implementation-agnostic. I have a splitter pane (JXMultiSplitPane) dividing two subpanes, shown below outlined in black; the black border will be gone in the real ap...

7ответов
22596 просмотров

### problem with oracle sqlplus with whitespace in the path of the @ command

I'm running Oracle 11g on Linux and I'm trying to run a script which will create my database. This script runs fine on windows, but when I test it on Linux, I get the following error: SP2-0556: Invalid File Name The problem may be that the path to the file name has a space in it. I'm going t...

12ответов
125122 просмотров

### Oracle - how to remove white spaces?

I am running this statement: select trim(a),trim(b) from table x; Even though I used the trim() statement, my output looks like this: A B ___ ____ ...