Questions tagged [quotation-marks]

271 questions
0
votes
2 answers

how to implement array into text with quotation marks

i have some understanding difficulties. i have some checkboxes in html like this: i like to evaluate multiple…
bonny
  • 3,147
  • 11
  • 41
  • 61
-1
votes
3 answers

Javascript - How to add strings with quotation marks inside a quotation mark?

I'm not sure what's the best way to word this question but basically I'm working on my second Javascript project to build a Random Quote Generator when I noticed there's some syntax issues on my third quote (please see first screenshot) when my…
Daniel
  • 3
  • 2
-1
votes
1 answer

C# Regular expressions, string variables, and inevitable quotation marks

Although this is a basic example, there are so many questions around escaping quote marks that this basic question about string variables seems to get lost in the 'noise'. For purposes of this question, C# is always in the context of Visual Studio…
JosephDoggie
  • 1,514
  • 4
  • 27
  • 57
-1
votes
1 answer

JSON.stringify and toString() method, as well as string() all result in doubled quotation marks

I simply do a dict assignment operation like this headers[col] = JSON.stringify(value); when parsing a TSV and it always results in the JSON keys with double quotation marks when I both use JSON.stringify and toString() method, as well as…
apingaway
  • 33
  • 1
  • 1
  • 17
-1
votes
1 answer

How to get all values between quotation mark with quotation marks inside value in regex?

I'm trying to get every value in quotes using regex, in some situations I get it and others I don't. My Regex: /(?:-reason|-r) ?"(.+?)(?:"-|" -|"?$\B)/g Below are some sentences I've been testing, line 1 and 2 match regex, but line 3 doesn't. 1…
-1
votes
3 answers

How to print a value from a variable in square brackets?

last= "smith" I am trying to print this line: John [Smith]. The answer is last = "Smith" msg = "John" + " ["+ last +"] " print(msg) But I don't understand why the answer is like this. Why do I need the plus signs? Won't the quotation marks in the…
Noob
  • 71
  • 9
-1
votes
2 answers

Why is there empty quotation marks?

Given a string, return a string where for every char in the original, there are two chars. double_char('The') → 'TThhee' double_char('AAbb') → 'AAAAbbbb' double_char('Hi-There') → 'HHii--TThheerree' Solution: def double_char(str): …
-1
votes
1 answer

Template literals inside of quotation marks

How can I write this so it works? document.getElementById("td-`${i}`")
vturkovic
  • 117
  • 2
  • 8
-1
votes
1 answer

Can´t replace this "'" for '

So, what I need to do replace this string " ' " (whitout space) for ', and the .Replace() is the ovios way, but when I try to do txtAux = txtAux.Replace(" "'" " , ""); the 3rd " didnt represent as I expected. I try to do something like I do…
Alfa Rojo
  • 165
  • 8
-1
votes
1 answer

How to remove quote characters around array when loading a csv in Python?

I am having trouble removing quote characters that appear around my arrays. When I read in my file like this: data = pd.read_csv('filepath.csv', sep='|', index_col=0, nrows=5) the dtype of my problematic column is object but the individual entries…
-1
votes
1 answer

How to remove quotation marks in lists in Python (trinket)

I'm trying to have trinket print out an entire list without printing the quotation marks surrounding each index. A plain print(list) isn't working, and neither are any of the more elaborate options such as print(*list, sep =', '). I'm relatively new…
-1
votes
2 answers

Quotation marks inside bash script for pytest

I try to write a script that helps selecting pytest options depending on user input. Unfortunately, the scripts always fail because of the latest parameter, which relates to the marker. I have suspect the quotation mark in the marker option to be…
Tobbey
  • 469
  • 1
  • 4
  • 18
-1
votes
2 answers

How can my Class User give me back all my properties with quotation marks in Swift?

I have this class: class User { let name: String let email: String let password: String let provider: String let uid: String init (name: String, email:String, password: String, provider: String, uid: String) { …
Juan Gil
  • 21
  • 1
  • 4
-1
votes
1 answer

bash handling of quotation marks in filename

I am trying to remove and replace quotation marks that are present in a file name. For example, I would like to change: $ ls abc"def"ghi"jkl"mno to this $ ls abc:def:ghi:jkl:mno In trying to solve this, I came across How to rename a bunch of files…
ChrisF
  • 47
  • 3
  • 11
-1
votes
2 answers

Why is my android app only show up in playstore when using quotation marks "titleOfApp"?

Hello my favorite community. Maybe someone has the answer out there I recently put my first app to the play store market and after a couple of hours it appears there. But the thing is the first days i did not recognized that it was already on the…