question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Escaping single quote

See original GitHub issue

How can I escape a single quote (')? I want to output a date in the format May 15 '19 but using the string MMM d '''yy outputs May 15 yy Am I missing something?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
azhivcommented, Oct 30, 2020

We ended up using this symbol: LLL’yy

5reactions
tamirvscommented, Jan 21, 2020

This looks more like a bug to me than an enhancement… it’s an incorrect parsing of the input.

Read more comments on GitHub >

github_iconTop Results From Across the Web

html - How can I escape a single quote? - Stack Overflow
9 Answers 9 · ' for ' (known as single quote or apostrophe, Unicode character U+0027) · " for " (known as double...
Read more >
How to Escape Single Quotes in SQL - Database Star
The simplest method to escape single quotes in SQL is to use two single quotes. For example, if you wanted to show the...
Read more >
How Do You Escape a Single Quote in Bash? - Linux Hint
A single quote is not used where there is already a quoted string. So you can overcome this issue by using a backslash...
Read more >
Single Quote in HTML | PageDart
Yes, you can! make sure to use either double quotes to wrap your values or escape the single quotes using ' . How...
Read more >
How to Escape Single Quotes in SQL | LearnSQL.com
You need to escape a single quote in SQL – i.e. include a name with an apostrophe (e.g. Lay's) in a string. Example:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found