Questions related to the use of double-quotes in different programming languages.
Questions tagged [double-quotes]
1212 questions
-1
votes
4 answers
Regex formula for following expression
I have a an array which is separated by commas, I want each word to be replaced with double quotes (for each and every word) as shown below:
a1.large,a2.large,a3.large,b4.medium
Should become:
"a1.large","a2.large","a3.large","b4.medium"
Can…

Sudhakar J
- 31
- 3
-1
votes
1 answer
How to put double quotes in other double quotes
library(tidyverse)
Here is the representation of my dataset:
mydata<-data.frame(NCT_number=c(" 1111"," 2222","0000","3333","4444 ")
I want to spots characters that are preceded or followed by blanks: One space, two spaces and so on.
I tried…

Seydou GORO
- 1,147
- 7
- 13
-1
votes
1 answer
Bash script written in vim works differently than in the terminal! WHY?
The idea is the bash script that enumerates internal ports (SSRF) of a website using ports in the "common_ports.txt" file and outputs the port and "content-length" of each port accordingly.
That is curl request:
$ curl -Is…

Elkhan
- 3
- 2
-1
votes
1 answer
Double Quote not close Java
J have CSV File first row is like this :
LOC;11000;"Autorisation "valide";10;;
When i try to read it with CSVReader i have only this:
LOC;11000
I know the problem is the double quote, how i can do to remove all double quote on my CSV ?
I try replace…

maa aam
- 1
- 3
-1
votes
1 answer
Why does `python -c 'print('howdy')'` produce an error (in zsh), but `python -c 'print("howdy")'` does not?
When, in zsh, I execute python -c 'print('howdy')' from the command line, it produces the following error.
Traceback (most recent call last):
File "", line 1, in
NameError: name 'howdy' is not defined
However, this python -c…

TransferOrbit
- 201
- 2
- 7
-1
votes
1 answer
ASP.NET VB.NET - How to print double quotes in Response.Write?
I want an output:
But this doesn't work:
Response.Write("")
it gives me

kazinix
- 28,987
- 33
- 107
- 157
-1
votes
1 answer
Cannot read geojson string with single quotes into Postgres table
I'm trying to import a large geojson file into a Postgres table. In order to do so, I first convert the json into csv with python:
import pandas as pd
df = pd.read_json('myjson.txt')
df.to_csv('myjson.csv',sep='\t')
The resulting csv looks like:
…

Patrick
- 2,577
- 6
- 30
- 53
-1
votes
2 answers
Go: how to not remove double quotes on cookies
Go removes double quotes in cookies. Is there a way to keep double quotes in cookies in Go?
For example, I'm sending a small JSON message and "SetCookie" strips double quote.
w.SetCookie("my_cookie_name", small_json_message)
More about…

Zamicol
- 4,626
- 1
- 37
- 42
-1
votes
1 answer
Git Config Double Quotes in PowerShell Round 2
I'm reposting this as it is not a duplicate. Please see my edit.
This was asked here, but no solution was provided for PowerShell. The solution given does not work in PowerShell (specifically, PowerShell 5.1 within VSCode).
I have tried
git config…

adam.hendry
- 4,458
- 5
- 24
- 51
-1
votes
1 answer
Batch Scripting Language; start url with double quotes
I am trying to write a batch script that starts a google search for e.g "Sun Moon Lake" in double quotes.
However, the double quotes are not appearing.
My script is as follows :
@echo off
start…

flash22231
- 1
- 2
-1
votes
1 answer
How to avoid backslash in java JSONObject before double quotes?
I create some JSONObject using java classes. Lets call it MyJSONObject. It should be the inner String part of another JSON object. Like that:
[
{
"httpRequest": {...},
"httpResponse": {
"headers": {
…

javagirl
- 21
- 4
-1
votes
4 answers
Replace " in Java String to Get Integer value from it
I have a String/Value "2.450,00. I want to get the Integer value from it. For that, I need to remove the " in front of the 2.

id6070
- 1
- 1
- 2
-1
votes
1 answer
how to remove double quote only from numeric data in a spark dataframe while writing it into a csv
While writing data into a csv from spark dataframe . I want to remove " quotes only from numeric data .
Actual Output:
+-------+---------+-----+
|user_id|course |marks|
+-------+---------+-----+
| "1"| "eng"| "9"|
| "1"| "french"| …

Harsh
- 27
- 7
-1
votes
2 answers
How to print an attribute with double quotes?
So, I was exercising javascript then I got in doubt on something:
I need to print: O usuário mora em São Paulo / SP, no bairro Centro, na rua "Rua dos Pinheiros" com nº 1293.
But I dont know how to put print endereco.rua with double quotes like the…

Vitor
- 5
- 1
-1
votes
2 answers
How do I remove double quotes from whithin retreived JSON data
I'm currently using BeautifulSoup to web-scrape listings from a jobs website, and outputting the data into JSON via the site's HTML code.
I fix bugs with regex as they come along, but this particular issue has me stuck. When webscraping the job…

Yacob
- 87
- 1
- 9