Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
scotth1
Level 7

Brightscript Escape Quotation Marks

How do I escape quotation marks in a string using Brightscript? In particular, I am wanting to do this in a regex. I've tried double quotes and backslashes, but neither seems to do the trick for me. I searched for "escape" in the docs that come with the SDK, but that doesn't yield any useful results.
0 Kudos
1 Reply
TheEndless
Level 7

Re: Brightscript Escape Quotation Marks

You can't escape them. You have to concatenate with Chr(34).
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos