Python:
- Code: Select all
r'\'text' # out: '\'text'
С#(double a ' token intro a string by doubling the ' token):
- Code: Select all
@'''text' // out: ''text'
I tried the sharp'@""' notation but it's breakin
r'\'text' # out: '\'text'
@'''text' // out: ''text'
"'text" #out: 'text
'"text' #out: "text
'\'text' #out: 'text
'"\'text' #out: "'text
print '\'text' # 'text
print "\"text" # "text
print r'\'text' #\'text
print r"\"text" # \"text
Users browsing this forum: No registered users and 12 guests