Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 25th February 2004, 22:48   #1  |  Link
WarpEnterprises
C64
 
WarpEnterprises's Avatar
 
Join Date: Apr 2002
Location: Austria
Posts: 830
did you know: string containing quotes

Up today I didn't knew a way to type a string containing quotes.
Well, you can use chr(34), but that's not really short.

I always wondered about the following sentence in the original docu from BenRG:

Quote:
A text string is surrounded either by "quotation marks" or by ``TeX-style quotes''. A text string can contain any character except the terminating quotation mark or double-apostrophe. If you need to put a quotation mark inside a string, use the TeX-style notation.
Well, I never figured out what he meant with TeX-style, because no combination of ' or ` or " worked. So today I looked in the source code - and the solution (which was there since the first day) is THAT SIMPLE:

e.g.

Subtitle(""" now you can put as many " in here as you like""")

TeX-Style = Use three quotes at the beginning and the end and you can put in the string single quotes.
WarpEnterprises is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:31.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.