How do i put quotes in a string in a script

I’m assuming this is easy but I want to make something like:

apple = “apple aka “red orange””

but it just reads

apple = "apple aka "

i want the string value to be

“apple aka “red orange””

thanks, ik there is a way I just forget how

2 Likes

Prefix the quotation marks with \

apple = "apple aka \"red orange\""
21 Likes

It can be done with Single Quotation marks too

apple = 'apple aka "red orange"'
7 Likes