Questions tagged [quotation-marks]
271 questions
2
votes
2 answers
how to show single quote in single-quoted text
I have a bash script,
echo 'abcd'
in shell, I want to show ab'c'd and I have tried following approach but without success
echo 'ab\'c\'d'
I am asking is it possible to show single quote in single quoted text?

Richard
- 14,642
- 18
- 56
- 77
1
vote
2 answers
Comparing strings with quotation marks
Hello guys i'm trying to create a program in C# where I am comparing two strings in which within the strings they have the double quotation marks. My problem is how do I compare them for equality because it seems the compiler ignores the words…

user1215604
- 11
- 1
- 3
1
vote
2 answers
formatting a string which contains quotation marks
I am having problem formatting a string which contains quotationmarks.
For example, I got this std::string: server/register?json={"id"="monkey"}
This string needs to have the four quotation marks replaced by \", because it will be used as a c_str()…

KaiserJohaan
- 9,028
- 20
- 112
- 199
1
vote
1 answer
PowerShell, getting string syntax correct in 7-zip script
I can't seem to solve this, been struggling with it for a while (maybe it's simple; I just can't see it as I've been looking at it for so long).
I can get the 7z.exe syntax to work, but when I try and put it together into a simple script, it…

YorSubs
- 3,194
- 7
- 37
- 60
1
vote
3 answers
Separating specific portion of a string in python
I am sending information via SCPI to power supplies. I created a GUI to display its responses. One of the responses comes is an error message that is a string and it has a character, a number, a comma and a couple of words in quotation…

Joshua Reck
- 11
- 1
1
vote
1 answer
Issue with quotations inside quotations in cmd batch script
This is my first post here. I only have some very basic knowledge of batch scripts.
I have a D:\SOURCE directory containining subdirectories with images. I am using a command line program (Irfanview) to resize and convert images to a different…

Ebulerdo
- 13
- 4
1
vote
0 answers
Query with IN condition - problem with listing attributes which have comma in attributes name/value
To query specific objects in our system we can use filters. Currently we are working on filter manager in which you can enter your conditions in text mode to query objects in the system. We can write there our own custom filter, in the form of RSQL…

MagicMan
- 73
- 5
1
vote
2 answers
MySQL Update Returning Failed
I am running a MySQL update query, but it always fails. I am using WordPress, I also tried to run the same query from phpMyAdmin which also fails.
This is my table:
id
period
x
y
1
Sep 2021 - Nov 2021
I tried running get count:
SELECT…

Devanarayanan
- 33
- 2
- 8
1
vote
2 answers
Is there a way to avoid double quotation in formatting strings which include quotations inside them in Python
It is not supposed to be a hard problem, but I've worked on it for almost a day!
I want to create a query which has to be in this format: 'lat':'###','long':'###' where ###s represent latitude and longitude.
I am using the following code to generate…

sepehr
- 23
- 6
1
vote
1 answer
variable does not get resolved in my jenkinsfile
I am new to jenkins/groovy and I am currently facing following issue...
I defined a deployment pipeline in a jenkinsfile, it consists in deploying scripts on two different environments running under linux. Deployment script copy_files.sh has to run…

ocki_docki
- 13
- 2
1
vote
0 answers
Quotation Marks - VBA
I am trying to link a PNG file as image source for a signature - to send e-mail using vba. I am trying to adjust the size of the signature (PNG Image) as well trying to understand what a Single Quote and Double quote refers to. I need image size to…

Fabian Julian
- 17
- 4
1
vote
1 answer
Is there a way in python to count sentences having quotation marks, question mark and full stop?
I have been searching for the solution to this problem. I am writing a custom function to count number of sentences. I tried nltk and textstat for this problem but both are giving me different counts.
An Example of a sentence is something like…

DataEater
- 11
- 3
1
vote
1 answer
Extra Quotation Mark in SQL Query
I'm studying SQL injection and I got following example on this website:
https://owasp.org/www-community/attacks/SQL_Injection
Considering it is a professional website, there should not have been error in the code.
Text from the web:
The following C#…

Sys_Glitch
- 13
- 2
1
vote
2 answers
Are there any differences in " " and ' ' in Python?
I am new to programming and coding, and I choose Python to be my first.
When I declare a variable, I notice that the variable = "x" and variable ='x' are the same. So can anyone told me the differences of "x" and 'x'

zinhdragon
- 11
- 1
- 2
1
vote
1 answer
Double quotation marks
I am trying to allow double quotation marks into my grammar's functions. I was hoping that I could use Haskell conventions to generate something like:
> mkSentence "This is \"just\" a sentence"
> This is "just" a sentence
However, when I try this…

ppski
- 41
- 4