Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to I put different characters in my string?

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?

1 answer

✓ Accepted answer

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'

1 comment

0

intresting

This discussion is preserved as it was. New answers, comments, and votes are closed.