Questions tagged [apostrophe]

The single-quote character (')

499 questions
2
votes
4 answers

PHP Apostrophe issue

I have been given a database whose content I can't modify. Everything has been going fine until I was passing some variables in a URL through a link, and an apostrophe in one of the variables (i.e "Frank's Used Cars") is causing the variables behind…
user1327746
  • 37
  • 1
  • 4
1
vote
1 answer

Apostrophe (') help when dealing with sql using Python

I am trying to read in contents and write insert statements to create an sql script using Python. I have come across an issue when the content I read contains an aprostrophe and I'm not sure how do I workaround this issue, because I can't just…
XinYi Chua
  • 281
  • 1
  • 6
  • 17
1
vote
1 answer

Dynamicjasper Excel and the leading Apostrophe

Im using DynamicJasper to generate an Excel sheet. Im experiencing some difficulty with the apostrophe prepended to my date columns values. I defined my column like this: AbstractColumn dateColumn =…
HKalsi
  • 333
  • 3
  • 10
1
vote
2 answers

HOW TO force XSLT to encode apostrophes as it does for quotes

in input XML I have a tag Sample " ' in XSL I transform this tag with: When I run XSLT the output is:
Kragh
  • 403
  • 4
  • 11
1
vote
1 answer

Proper way to write a dynamically built PHP form with input from array in Laravel

So I'm pretty new to Laravel and not at the point where I have mental bandwidth to mess with Vue. In the meantime, I'm also trying to build forms dynamically to make the code easier on the eyes. My code looks like this:
Wikke
  • 31
  • 3
1
vote
1 answer

Access: Filtering form on field - fails when fields contains an apostrophe

I have a filter on a continuous form that uses a Combo Box to select records to match; the code is: Private Sub SelectHospitalCbo_AfterUpdate() Me.Filter = "[ContactHospital] = " & "'" & Me.SelectHospitalCbo & "'" Me.FilterOn = True End…
HelenC
  • 13
  • 3
1
vote
2 answers

PHP: mail function -- how do I include an apostrophe in a parameter

I am having trouble with a valid email address with an apostrophe as the $to parameter. I don't know how to pass a parameter with an apostrophe to the PHP mail() function.
BPetrarca
  • 13
  • 1
  • 3
1
vote
1 answer

Transliteration from Ukrainian to English

I try to make translit function from Ukrainian to English on php. Is this correct especially for apostroph sign. And what about translit function from English to Ukrainian? Any ideas or link function translit($s) { $s = (string) $s; $s =…
Ivan D.
  • 33
  • 4
1
vote
1 answer

Replace words in a string including plural variations with apostrophes

I want to link matches for specific words in a sentence. Overall this is easy, and sample code could go like this: $words = array("Facebook", "Apple"); $text = "Is Facebook's vr hardware better than Apple's current prototype?"; foreach($words as $w)…
donohoe
  • 13,867
  • 4
  • 37
  • 59
1
vote
1 answer

Dreamweaver Auto completing apostrophes

The new Dreamweaver 5.5 closes the apostrophe as soon as you open it. Is there anyway to turn this feature off? I thought it would be with the auto html closing tags, but its not. Thanks in advance
Case
  • 4,244
  • 5
  • 35
  • 53
1
vote
1 answer

In Java Regex - email validation, How to allow apostrophe before @ and not as first and last character before @ and not two consecutive apostrophe?

Regex Used: EMAIL_VALID_REGEX = "^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@"+"[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*(\\.[A-Za-z]{2,})$"; Now i need to allow apostrophe before @ and also it should not allow apostrophe as first and last character and also…
Karthick
  • 13
  • 4
1
vote
1 answer

Code Igniter: allowing apostrophe in URI's while depending on Query Bindings for safety

I've been figuring out how to let apostrophe's cross URI's. I'm building a site that allows users to "create photo albums". I have a link that when clicked, it will load and display all the contents of a certain album. I'm using codeigniter so this…
user657896
  • 189
  • 1
  • 10
1
vote
2 answers

For Python language, What is the difference between single and double quotation marks

While I am developing the Python code, I found I used to use single quotation marks all the time, but some experienced programmers used double quotation marks more often. I couldn't find the difference between them, could anyone help to give me some…
Joey
  • 125
  • 8
1
vote
1 answer

next-i18next has bug Apostrophe is displayed as '

I am using next-i18next. I have a bug has bug Apostrophe is displayed as ' How I can fix it?
Noa
  • 424
  • 1
  • 3
  • 16
1
vote
1 answer

How do I type the slanted apostrophe on the command line?

I'm running a React Native app on an iPhone from the command line, and use the command react-native run-ios --device "’s iPhone". The problem is I always have to copy-paste this, because the apostrophe in ’s is different from the…
gkeenley
  • 6,088
  • 8
  • 54
  • 129