UDL, style, apostrophe vs quote
Vitaliy Tech last edited by Vitaliy Tech
could you please help me with creating own style? I want to highlight strings in quotes, like ‘some string’. But when it’s met apostrophe inside the string it becomes treat it as quote.
‘it’ s some string’
Is it possible to setup it somehow like as treat this sign as quote if it at the begging of the line or space(tabulate) exists before it? I’m trying to do this via Operators & Delimiters section.
Can you advise any links with UDL 2 examples?
Jim Dailey last edited by Jim Dailey
Well, if the consumer of the string allows for some sort of escape character, say “~”, then you’d enter the string as:
'it~'s some string'
and you’d put “~” in the escape character box of the UDL dialog.
Vitaliy Tech last edited by
Yep, I know about escape symbols but in my case it’s not a nice solution. I’d prefer to have ability to set at least two symbols as delimiter such as < space+’ > or backward < '+space >.