Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It seems the quotation marks are borking this. #95

Closed
Tuxhedoh opened this issue Nov 16, 2018 · 1 comment
Closed

It seems the quotation marks are borking this. #95

Tuxhedoh opened this issue Nov 16, 2018 · 1 comment
Labels
Category-Koans Invoking the Great Doubt Issue-Discussion Let's talk about it!

Comments

@Tuxhedoh
Copy link

$Quotes = 'These are ''quotation marks'' you see?'

image

From the about_quotationRules

To make double-quotation marks appear in a string, enclose the entire
string in single quotation marks. For example:

    'As they say, "live and learn."'

The output of this command is:

    As they say, "live and learn."


You can also enclose a single-quoted string in a double-quoted string.
For example:

    "As they say, 'live and learn.'"

The output of this command is:

    As they say, 'live and learn.'


Or, double the quotation marks around a double-quoted phrase. For
example:

    "As they say, ""live and learn."""

The output of this command is:

    As they say, "live and learn."

To include a single quotation mark in a single-quoted string, use a
second consecutive single quote. For example:

    'don''t'

The output of this command is:

    don't``
@vexx32
Copy link
Owner

vexx32 commented Nov 16, 2018

Is this actually breaking? This is meant to illustrate different methods of including quotation marks in a string; doubling up the quotation marks to insert them into a string is a valid way of doing so. 😄

@vexx32 vexx32 added Category-Koans Invoking the Great Doubt Issue-Discussion Let's talk about it! labels Nov 23, 2018
@vexx32 vexx32 closed this as completed Dec 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category-Koans Invoking the Great Doubt Issue-Discussion Let's talk about it!
Projects
None yet
Development

No branches or pull requests

2 participants