Questions tagged [double-quotes]

Questions related to the use of double-quotes in different programming languages.

1212 questions
-2
votes
1 answer

Regex to get everything between first and last double quote but without double quote

I have following data "full name":"vg","address":"abc, 128, street no 9,"(0112093-0)"" Now it is clear in "key":"value" format and it is separated by comma.So I have 2 keys "full name" , "address" . I need to write a regex which will get sting…
user3332404
  • 161
  • 1
  • 4
  • 13
-2
votes
3 answers

php if then else statement syntax error somewhere

So I am getting the following parse error when this file loads: Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) I have tried…
Antistandard
  • 73
  • 1
  • 7
-2
votes
1 answer

double quotes and the split method

I am trying to split a large String using double quotations "\"" as the delimiter. For some reason, the split method doesn't seem able to locate occurrences of double quotes in my String. Code: public void stripToDialog() { String[]…
Isaac Yates
  • 83
  • 1
  • 6
-2
votes
1 answer

append request param in double quotes

var base = "/some/url?search="; var value = '"VALUE IN QUOTES"'; $('#inner').append('link');
kpeek
  • 29
  • 5
-2
votes
2 answers

Quotes problems inside echo

I want to put this line into echo : How can I do this please, I have problem with quotes ! Thanks in advance.
SoufCoder
  • 13
  • 2
-2
votes
2 answers

Why C# requires two double-quotes to print " in case of verbatim string?

If I store a verbatim string, string s=@""Hello""; it should hypothetically parse the string and print "Hello" (taking the " character as a part of the string) but in actual practice it fails and instead string s=@"""Hello"""; displays the desired…
CᴴᴀZ
  • 521
  • 7
  • 20
-2
votes
1 answer

To quote or not to quote, that is the

When shell programming we need to care for proper quoting, so parameter expansion does the right thing with respect to white space in expansions, or to prevent word splitting getting in the way. The canonical example is a file with a white space in…
Jens
  • 69,818
  • 15
  • 125
  • 179
-2
votes
4 answers

Double quotes inside array

I have this line of code in my file, but in the return array part, I need to have double quotes inside the array. If I leave the way it is right now, it crashes. How can I solve this problem? if ($number_of_picture_allowed <=…
Arkymedes
  • 179
  • 5
  • 12
-2
votes
1 answer

Erlang a special value doule quote

When i run my program,a error hanppened, and when i look into the log, appears this {k,3108,"s"},{k,3109,"}, how can a one double quote as a varible's value.
-3
votes
2 answers

How do I remove double quote "" from JSON Value

I am doing my Javascript. And just imported JSON and printed it out with JSON.stringfy I am using that site because the JSON contains the URL which I want to link. I am not getting what I really need as the output. description": "www.site.com"…
Pranav Bhattad
  • 13
  • 1
  • 1
  • 4
-3
votes
2 answers

Bash script - How to put double quote around string value in variable?

In bash script, I have a variable, say $date, that obtained string value from some other function, say the value of $date is 04 Feb 2020. I want to mosquitto_pub the value in $date, but it can't because mosquitto_pub expect no space after 04. I…
bthoven
  • 15
  • 3
-3
votes
1 answer

How to stop Golang from replacing double-quotes with backslashes when executing a Windows command?

I am writing a program in Golang that will use Mozilla's Thunderbird email client to send email. The Windows command that should be executed is: start "" "C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe" -compose…
Sean H. Worthington
  • 1,701
  • 15
  • 9
-3
votes
1 answer

How to remove single quote and put double quotes in the array of objects in javascript

I want to remove single quotes and put double quotes in the array of objects in javascript. var arr=[{ email: 'abc@gmail.com', name: 'Abc' }, { email: 'def@hotmail.com', name: 'Dr.Def' }, { email: 'xyz@gmail.com', name: 'Xyz' }, …
-3
votes
1 answer

Double Quote font causing errors

I'm having trouble writing code because apparently some text editors and code editors and tools and developer tools use different quotes. I've found ” causes error in javascript vs " Look closely. The double quotes are different from each other.
dubfactor
  • 23
  • 3
-3
votes
1 answer

How to solve using single quotes within double quotes within the $content = ' '

I am getting an error because of the single quotes that are within the double quotes, and everything is within the single quotes of the $content variable. How can this be solved please? $content = ' setTimeout("finishAjax('usernameResult',…
jbm59er
  • 35
  • 1
  • 3
1 2 3
80
81