Questions tagged [quotation-marks]

271 questions
0
votes
1 answer

Strings and quotation-marks in csv file

I have a csv file that looks like this: PassengerId,Survived,Pclass,Name,Sex,Age,SibSp,Parch,Ticket,Fare,Cabin,Embarked "1,0,3,""Braund, Mr. Owen Harris"",male,22,1,0,A/5 21171,7.25,,S" Can I use pandas to read the csv such that it gets read in…
Kimarokko
  • 101
  • 1
0
votes
4 answers

keep leading zeros when I add quotation mark in excel

I have a list of SSN in my excel file (9 digits, some of which have leading zeros, no hyphen). I keep them in the special format (numero da seguranca social in portugues) so I can keep leading zeros in the column. I want to add ' ', to the column…
Richard Li
  • 21
  • 1
  • 9
0
votes
2 answers

How to catch a pattern that's not in the non-capturing group? - Python

Given the string: I'll be going home I've the 'v ' isn't want I want to split but I want to catch tokens like 'v and 'w ' . The goal is to catch: 'v 'v 'w But avoid 've and 'll and 't. I've tried to catch the 've and 'll and 't with…
alvas
  • 115,346
  • 109
  • 446
  • 738
0
votes
2 answers

Automated conversion from simple character vector to string vector in R

Suggest I have the following character vector: models <- c(CNRM_CERFACS_CNRM_CM5_ALADIN53_r1i1p1, CNRM_CERFACS_CNRM_CM5_ALARO_0_r1i1p1, CNRM_CERFACS_CNRM_CM5_CCLM4_8_17_r1i1p1, …
Mike
  • 21
  • 4
0
votes
1 answer

Asp Classic & Firbird Sql without quotation marks

I have a script in ASP Classic that uses a Firebird database. I would like to execute a query without "quotation marks" Now I must write this: SQL = "SELECT ""TArticoli"".""IDArticolo"",""TArticoli"".""Desc"" FROM ""TArticoli"";" I would write…
0
votes
3 answers

Wrong type face when inserting text into MS Word document using VBA

I am trying to create a VBA procedure for MS Word 2010 that helps me set quotation marks in certain places, and do some additional text replacements. I need Germany style quotation marks (lower 99 at the beginning of quote, upper 66 at the end).…
0
votes
1 answer

Can't use dynamically generated string as jQuery selector

I would like to use the value from i to build a new ID to use in my scrollto function, but it doesn't work. $('.calendar').each( function(i){ $(this).attr('id',i).css({'margin-left':'2.5px'}).text(i+5).on('click',function(){ var…
Pierre Debroux
  • 37
  • 1
  • 10
0
votes
2 answers

Too many quotation marks in mysql

my problem is too many quotation marks. $come = mysql_query("SELECT * FROM users WHERE email="$_POST['email']" and password="$_POST['password']" "); Then I tried this but it doesn't work ... $come = mysql_query("SELECT * FROM users WHERE…
Nol
  • 55
  • 2
  • 9
0
votes
1 answer

How do I get the contents of two quotation marks that contain single quotes in c #?

Example, I have a string of html
How do I get the content of id ; include quote, result like this is a new "id" and the new " attribute", ; I'm from Vietnam and the ability to express in…
Kiên Trần Trung
  • 347
  • 1
  • 5
  • 16
0
votes
4 answers

extract one element from the list with quotation mark

I would like to extract one element from list in python. For example: a = [0,1,2,3] b = ['0','1','2','3'] a1 = a[0] b1 = b[0] print(a1) print(b1) As expected, the code print 0 for both a1 and b1. However I would like to get '0' for both a1 and b1…
Isaac
  • 885
  • 2
  • 15
  • 35
0
votes
1 answer

Use different quotation mark when evaluating a string using JEXL

The Requirement is to use JEXL to evaluate a java method from a file with a string parameter as below: object.method("argument"); But, sometimes my String argument is written with different quotation marks: object.method(«argument»); According to…
GaspardP
  • 880
  • 1
  • 12
  • 24
0
votes
1 answer

Reading text between quotation marks

Here's a piece of text I'm trying to work with: lat="52.336575" lon="6.381008">< time>2016-12-19T12:12:27Z< /time>< name>Foto 8 < desc>Dag 4 E&F Geb 1.4 Hakhoutstoof < /desc>< /wpt> I'm trying to extract the coördinates between the ""…
0
votes
1 answer

How to remove " from the whole table?

Lets get a simple table that has 2 columns A and B. Values of this table look like: "ABCD" "123" "EFGH" "456" "IJKL" "789" And here I need to remove all "", so I will get only values between "". Is it some property of table, that it gives strings…
Mino1234
  • 77
  • 6
0
votes
2 answers

XSLT replace single quotation sign with two single quotation signs

I'm writing XSLT code to parse data from an XML. Value of one element contains single quotation marks which I need to escape. I was trying to do something like this:
madasionka
  • 812
  • 2
  • 10
  • 29
0
votes
1 answer

Replace ALL text within a group of files

I have a large group of files. I want to delete all the text within these files and paste a new string which I call mytext. I'm new to R, but I've written an R code that nearly does the job perfectly. It's very messy and I'm sure I'm taking…