# Quick strings

**URL:** <https://forum.kirupa.com/t/quick-strings/211791>\
**Category:** Uncategorized\
**Created:** [January 5, 2007, 4:20am UTC](https://forum.kirupa.com/t/quick-strings/211791 "2007-01-05T04:20:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rninne](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@rninne](https://forum.kirupa.com/u/rninne)\
**Post date:** [January 5, 2007, 4:20am UTC](https://forum.kirupa.com/t/quick-strings/211791/1 "2007-01-05T04:20:40Z")

</div>

How do I define a \ as a string?

For instance if I want to do a _my\_string_.indexOf("")

I’ve tried ‘’ “” `\` “’’” ‘""’ it just throws an error… also if you want to make this sentance a string

“Help!” cried the boy, “It’s a monster”! how would you do it?

I can’t just go " “Help!” cried the boy, “It’s a monster”! " can I?.. that would make flash go.

[COLOR=Blue]" “[/COLOR]Help![COLOR=Blue]” cried the boy, “[/COLOR]It[COLOR=Blue]'s a monster”! "

[COLOR=Black]and `[/COLOR][/COLOR] "Help!" cried the boy, "It's a monster"!` doesn’t work…

do I just have to go _[COLOR=Black]my\_str = [/COLOR]_[COLOR=Blue]’“Help!”’[/COLOR]+[COLOR=Blue]" cried the boy, “[/COLOR]+[COLOR=Blue]’“It’[/COLOR]+[COLOR=Blue]”’”[/COLOR]+[COLOR=Blue]‘s a monster"!’ [/COLOR]

Anyway thoughts and or solutions would be appreciated.

Cheers,

Robert :kir:
