Questions tagged [quotation-marks]

271 questions
0
votes
2 answers

python sublist erase quotes symbols between string elements

I have a list containing two sublists. I want all the string elements in every sublist to be part of the same sentence. So far I could only remove the commas but the quotation marks stay and additional ones appear on the sides of the squared…
0
votes
0 answers

Atom will not autocomplete closed quotes when typing f-strings

I'm using the Atom editor as I make my way through Learn Python the Hard Way. For some reason, Atom will autogenerate closed quotes in a basic string. x = "There are 10 types of people." But it will not when the string starts with f. x = f"There…
0
votes
1 answer

How to write a function in R where one of the inputs is meant to go in quotation marks? (" ")

Let's take this hypothetical code for instance: ```{r} dataset_custom <- function(top, dataset, variable) { {{dataset}} %>% count({{variable}}) %>% top_n(top, n) %>% arrange(-n) %>% left_join({{dataset}}, by = "{{variable}}") } ``` I know…
BoyAcc
  • 193
  • 7
0
votes
3 answers

In which programming languages is the single quote indispensable?

In several languages, one can forgo single quotation marks ' completely. For example in Python, single quotation marks can always be replaced with double quotation marks 'string' == "string" In Ruby, single quotation marks can be used to encode raw…
Damien L
  • 161
  • 6
0
votes
1 answer

code executes outside function, but not inside it

my problem is, that some code gets executed outside a function, but not in it. In my example, the content of certain cells should be transferred from the input table to the output table. In case of removal or adding of rows/cols I don't access the…
michel
  • 33
  • 6
0
votes
2 answers

php multi Quotation marks

I meet a headache problem. there are too many Quotation marks in my code make me headache. I tried both of these method, but all the way are make links broken. I cheked it in chrome, In elements, I find the source code like what I add after…
fish man
  • 2,666
  • 21
  • 54
  • 94
0
votes
2 answers

powershell script code to remove quotation marks doesn't remove them when running on task scheduler

I have a powershell script that exports to a csv and I inserted a line to remove the quotations. It works if I run the powershell manually, but the quotation marks remain if i run in task scheduler!! Why does this happen? #Output RESULTS to CSV…
0
votes
1 answer

MYSQL Truncated incorrect DOUBLE while using double and single quotation marks

I'm created a trigger that inserts a row in a table after a row is deleted in another table. Here's my trigger CREATE TRIGGER trigger_delete_log_animal AFTER delete ON animal FOR EACH ROW INSERT INTO log_animais (momento, ocorrencia) VALUES…
Laila Campos
  • 801
  • 1
  • 8
  • 21
0
votes
1 answer

Is there any way to automatically move periods inside quotation marks? (csquotes doesn't seem to work)

csquotes doesn't work in this case, maybe because I'm using a custom command: \documentclass[12pt, letter,…
0
votes
1 answer

Why does QUOTE_IDENT doubles the embedded quotation mark

The Redshift doc for the QUOTE_IDENT function says The QUOTE_IDENT function returns the specified string as a string in double quotation marks so that it can be used as an identifier in a SQL statement. Appropriately doubles any embedded double…
F.S.
  • 1,175
  • 2
  • 14
  • 34
0
votes
1 answer

Single quotation marks as arguments to a Java program

When I run my jar from the cmd in this way: java -jar myapp.jar -fn='Something' I get args = [-fn=Something]. So, the problem is that it misses the quotation marks. The same happens with the double quotation marks. What can I do to solve this? I…
Radu Aramă
  • 195
  • 1
  • 1
  • 10
0
votes
1 answer

R: dealing with " " symbols

I am using the R programming language. I am copying text data from a website that contains many quotation marks, i.e. "" . When I try to create a data frame that contains this text, I will get an error because of conflicting "" symbols. For…
stats_noob
  • 5,401
  • 4
  • 27
  • 83
0
votes
1 answer

Regex in Python: Allow double and single quotation marks

With a Python script I want to extract parameters from my Dart code (Strings). When I have AppLocalizations.of(context).translate("translationKey"), I want to get translationKey. The following code is working perfectly for double quotation marks…
PlutoHDDev
  • 540
  • 7
  • 25
0
votes
1 answer

Can I replace a line in a file with a new line that contains quotation marks using bash?

I have a line in a text file that goes something like this s:Variable = "Path/to/file" but what I'm doing is replacing that line with a different 'newline' using a while loop in a bash script. The way I'm doing this is by this command sed -i ''…
D.Cecchi
  • 25
  • 3
0
votes
3 answers

Quotation mark and slash mark in C# string

I want to execute a cmd command in C#. Below command AAA is working in Windows 10 cmd. The below code's string AAA part is not the correct format in C#. How can I change this cmd command into correct C# string format? System.Diagnostics.Process…
ice7101
  • 69
  • 5