Questions tagged [quotation-marks]
271 questions
1
vote
1 answer
bash - zip multiple files, take argument from variable, one of them has space in name
I want to zip file.txt and file with spaces.txt. I need to keep them in one variable. I can concat these string like this:
files="$files \"$newfilename\""
Then I have all the file names in one variable, separated by space and each one covered with…

Dan
- 109
- 4
- 13
1
vote
1 answer
VSCode empty nested quotation mark strings in configurations stopped working
I use Visual Studio Code latest stable version and I had configuration like:
"program": "${workspaceFolder}/build/debug/bin/something-wallet-rpc",
"args": [
"--rpc-bind-port", "19835",
"--wallet-file", "wallet",
…

Lukas Salich
- 959
- 2
- 12
- 30
1
vote
1 answer
r read a line with quotation marks from a txt file
This might be something easy but I am having issues with it.
I want to read the first line of a long .txt file, the line is like this (but much longer):
"15075060" "15085030" "15085040"
and i want to save each of this elements as objects in a…

Davido
- 121
- 4
- 12
1
vote
1 answer
why strchr returns not a NULL when the second argument is a string into a single quotation marks ('text')
I tried to write implementation of the strchr().
char *ft_strchr(const char *s, int c)
{
(unsigned char)c;
while (*s)
{
if (*s == c)
return ((char *)s);
s++;
}
if (c == '\0')
return ((char…

ivoriik
- 155
- 1
- 11
1
vote
1 answer
quotation marks unmatched when "->" is on the second line
I a writing data-content for bootstrap popover and I want to preserve line breaks in formatting. so I used
.popover {
white-space: pre-wrap;
max-width: 100%;
}
But I get a warning as soon as I write "->" on the second line.
This is…
user8816462
1
vote
2 answers
Bash - How to wrap values of the first line of a csv file with quotations
Line 1 of a csv file has the values separated by a comma like so:
word1,word2,word3,word4,word5
but needs to be wrapped with quotations like below:
"word1","word2","word3","word4","word5"
I would like a command to address line 1 only and leave the…

Vituvo
- 1,008
- 1
- 9
- 29
1
vote
2 answers
how to handle string with quotation marks
Hi I try to have some user-input string, what if the string has quotation marks (don't know single/double)?
Specifically, I want to store some R code in a string, e.g.,
x = 'a'
y = "b"
how do I store this code in a string (later I will use…

YJZ
- 3,934
- 11
- 43
- 67
1
vote
2 answers
StringBuilder export csv with quotation marks at the beginning
I want to write several csv lines into a csv file with StringBuilder. I enclose every field with quoation marks. If I export the file as a .txt I have excactly what I want ("Artist","Album","Track").
If I export as .csv the first field is not…

Tim Kathete Stadler
- 1,067
- 4
- 26
- 52
1
vote
1 answer
How to read in 2 values of a single quotation/apostrophe between a delimiter without masking the delimiter?
I am reading in a text file where 2 character variables both have a value of an apostrophe ' separated by a comma delimiter in di studio.
Di is reading it as the apostrophes are masking the comma, taking the comma as the value rather than the…

Trying to SAS
- 11
- 2
1
vote
1 answer
python : How to allow python to not add quotation marks while changing delimiter in the csv file
I have written a script to convert delimiter in the csv file from comma to pipe symbol but while doing so it doesn't remove the extra quotation marks added by csv file.
script is as follows:-
import csv
filename = "sample.csv"
with…

user3222101
- 1,270
- 2
- 24
- 43
1
vote
1 answer
java html content with multiple single and double quotation marks
Hello All its simple question but am not able to answer.
i have written java code for html content String.
my goal is: when Click Here open yahoo.com & google.com pages
am able to open html and click on Click Here tag i am open only yahoo.com page…

Kixeye User
- 41
- 1
- 7
1
vote
1 answer
Print raw control characters while preserving string delimiters in output (Racket)
I have a list in Racket like so:
'(some-symbol
"some\ntext\ngoes in\nhere")
I want to print it out such that control characters like \n are translated to their actual values, in this case a linefeed. However, I also want the quotation marks of…

GDP2
- 1,948
- 2
- 22
- 38
1
vote
1 answer
Javascript output (Script Editor (MacOSX)) is without quotation marks
Code below (js):
JSON = {"name":"John","stats":["canFly","invincible","noClip","canBuild"]};
function disableGodStats(JSON){
for (i = 0; i < JSON.stats.length; i++) {
if (JSON.stats[i] == "canFly" || JSON.stats[i] == "invincible" ||…

BananaMaggots
- 11
- 1
1
vote
4 answers
Need third kind of quotation marks in JavaScript
I'm changing the HTML using javascript. Therefore, I have a String that saves the HTML code, since it is produced in a for-loop. In it there is an tag. To the tag I want to add an onClick which calls a function with a parameter which is…

niklassc
- 597
- 1
- 9
- 24
1
vote
1 answer
INNER JOIN clause returning no rows while NATURAL JOIN does
I am stuck with doing a simple join in SQLite.
I have two tables - one with data, and other relational one with pointers:
References contains ReferenceID and Reference
REL_References_Pages contains ReferenceID and PageID
Normal join query works OK…

mrmut
- 484
- 5
- 18