Questions related to the use of double-quotes in different programming languages.
Questions tagged [double-quotes]
1212 questions
-1
votes
1 answer
Strange "" element in Chrome Inspector causes layout problems
I'm experiencing a strange layout problem with Chrome which seems to be caused by an element that does not exist in the source code ("" directly after tag).
Have a look at this screenshot:
Size of body element
The body element is located at…

lukehellrunner
- 141
- 6
-1
votes
2 answers
Do I have a data issue or a string escaping issue and how do I fix it?
In my Java web app I pull a property from the database and send it to the view/browser layer via the controller.
In the HTML, I am expecting the string to look like this:
9" nails
Instead it looks like this:
"9\" nails"
So I plugged Apache…

Worn Drellis
- 11
- 1
-1
votes
1 answer
Best way to forbid quotation marks on input
Let's assume I have an tag. Value of this tag is used on change. The problem is that if a user inputs single or double quotation marks - it breaks the code.
Right now this is solved quite simple:
Override keypress for these keys;
Forbid…

Max Novich
- 1,169
- 9
- 20
-1
votes
4 answers
How to delete from string particular word containing double quotes ''"?
I want to delete from my string containg this and after that lots of other things. How to delete it because of several double quotes I am having problem to define str_replace function.

Stefke
- 141
- 8
- 19
-1
votes
1 answer
php rename adds double quotes around file name
I'm trying to rename some jpegs in a single directory. The code half works in that they are renamed with the correct filenames but for some reason the new filenames are surrounded with double quotes which makes them inaccessible from my web pages. …

Pee Lee
- 3
- 3
-1
votes
1 answer
How to add quote marks to text in HAML code
I have the following HAML code
//add some text
%div.text
<%= answer.text %>
The result in the browser is as such
How can I add quote marks to this text so that is shows "test remuse" instead?

Zhen
- 12,361
- 38
- 122
- 199
-1
votes
1 answer
MySQL insert issue
I am attempting to insert data into a table that contains a lot of single and double quotes.
INSERT INTO vulnerabilities_internal_test (device_type, ip_address, user_tag,
repositoryID, severity, pluginID, pluginName, pluginText)
VALUES…

Ben
- 153
- 2
- 6
- 18
-1
votes
4 answers
Replace empty string in double quotes in php
Possible Duplicate:
Search and replace inside an associative array
I think this may have been asked before. But I just want a simple solution.
I have an array like this:
Array ( "name" => "Krish",
"age" => "27",
"COD"…

Kevin Rave
- 13,876
- 35
- 109
- 173
-2
votes
1 answer
Saving html code to a database if the font family has double quotes?
I do a simple text editor. With the javascript select option I add font-family to innline-style and change the font-family style. After that I need to ajax-save the html in the mysql database.
If font-family doesn't have duplicate quotes like Arial,…

borma
- 1
- 2
-2
votes
2 answers
regex to bring a word inside a quoted substring
I am working on a function that works by identifying if LP or LLP appear, preceded or not by a space, after a " at any position in the string. If this is the case i'd like to bring the LP or LLP sub string inside the quoted sub string, as shown…

Tytire Recubans
- 967
- 10
- 27
-2
votes
1 answer
how to declare a variable with csv content with semicolon and double quotes in javascript
You are provided with the following CSV file content as a variable:
"Buchungstag";"Wertstellung (Valuta)";"Vorgang";"Buchungstext";"Umsatz in EUR";
"22.10.2020";"22.10.2020";"Übertrag / Überweisung";"Auftraggeber: XY Buchungstext: KD 1 RE 3000 Ref.…

Fernando Elias
- 21
- 4
-2
votes
2 answers
How escape multiple quotes in a string in javascript
var mystring1= "'Create new folder' not working (Registry Fix)";
var mystring2 = ""Create new folder" not working (Registry Fix)";
var str = "
";
But when i'm inspecting the element after this html is…

Sanjay
- 21
- 5
-2
votes
1 answer
Why PHP Return JSON With """?
I am working with WSDL for my web services. So, I created a WSDL page and add a function. This function is, connect my table and return JSON value. When I call this function other PHP page, I take successful my…

AlpYuktug
- 178
- 1
- 2
- 13
-2
votes
4 answers
Is there a way to alternate single and double quotes in C# like you can in javascript?
In javascript I can write
var s = 'He said "Hello" to me';
or
var s = "don't be sad";
In other words, if I want a double quote in the string, I can declare the string using single quotes. If I want a single quote in the string, I can…

rocketsarefast
- 4,072
- 1
- 24
- 18