|
The number of ” could be varied similarly to allow ””” inside the string. str = ””””Literal with ””” in it”””” Leading ” in the literal could be handled by having a line break after the opening ”””. Line break would be ignored ([[ does this too). But ” at the end of the string still poses a problem... unless perhaps the last line break would be automatically cut from the string if the previous char is a ”? ””” ”Literal string with quotes” ””” Would produce a string with no line breaks. Maybe this could work? More likely I mislooked something...
Petri |