Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
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 1\
Level 10

Re: Brightscript Escape Quotation Marks

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