9. Single Quotes and Escapes
Single quotes inside strings are supported:
def simpleReturn() -> str {
string = "hello 'my' world";
return string;
}
Escape characters work only when using f-strings:
def simpleReturn() -> str {
string ="hello \"my\" world";
return string;
}
Originally posted by @ahzan-dev in #3242