I am trying to put a " in a string, but it is just an error :(
local string = """
--Error
why is this happening and how can i fix it?
I am trying to put a " in a string, but it is just an error :(
local string = """
--Error
why is this happening and how can i fix it?
You actually can't put a " if you're defining a string using two "s, so what you could do is use two 's because they also work for defining strings. Small example:
local string = 'This is a string that can use "double quotes" and doesnt error'
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
intresting