generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Using a 'Quotation Mark' in a string.

Previous Thread :: Next Thread 
UFAIL2 is not online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
03 Feb 2012 05:16 PM
How can I put just a 'Quotation Mark' in a string?
Report Abuse
POC0bob is not online. POC0bob
Joined: 20 Feb 2010
Total Posts: 549
03 Feb 2012 05:21 PM
'And the dog said "WOOF" :D'
Report Abuse
POC0bob is not online. POC0bob
Joined: 20 Feb 2010
Total Posts: 549
03 Feb 2012 05:22 PM
or "and the dog said 'WOOF' "
Report Abuse
L2000 is not online. L2000
Joined: 03 Apr 2008
Total Posts: 77448
03 Feb 2012 05:23 PM
Put in a break character (\). It ignores all effects of code behind it.

So, for example,
local string = "He said \"this is how you use the special code.\""
print(string)

Would print

He said "this is how you use the special code."
Report Abuse
L2000 is not online. L2000
Joined: 03 Apr 2008
Total Posts: 77448
03 Feb 2012 05:24 PM
Why does it remove the backslash when I put it in brackets?

Whatever, the break code is the backslash \, so put that in there and it will ignore the effect of the code behind it.
Report Abuse
Ravenshield is not online. Ravenshield
Joined: 21 Nov 2007
Total Posts: 4143
03 Feb 2012 05:24 PM
Or simply add two 's

'' = " .. almost.. xD

Use the above method, by L2000. Should perhaps work.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
03 Feb 2012 05:54 PM
> Or simply add two 's
'' = " .. almost.. xD

Fail...
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image