Can you print commas?

Hi,

The question is as simple as the title, can you print commas? As with the game that our company is developing, we have to copy some code out of the command, although it changes the table values like playMap[i][j] = “start”…blank[k].style…"" to start20, not “start20”.

Any advices, solutions?

Roni

You can use brackets to print anything in it. e.g. 

local printThis = [[Hello There Again!'' :) 拜仁]]

Thank you!

“commas”??  yes:  print(",")

or quotes?  assuming instead quotes, just for reference:

print("’") – single quote in double quotes = easy

print(’"’) – but did you know opposite is also valid?

print(""") – and escaping also works

print([["]]) – and of course multi-line string syntax, as yosu already gave

You can use brackets to print anything in it. e.g. 

local printThis = [[Hello There Again!'' :) 拜仁]]

Thank you!

“commas”??  yes:  print(",")

or quotes?  assuming instead quotes, just for reference:

print("’") – single quote in double quotes = easy

print(’"’) – but did you know opposite is also valid?

print(""") – and escaping also works

print([["]]) – and of course multi-line string syntax, as yosu already gave