Thanks for that. Ken
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of gp_sydney Sent: Monday, July 30, 2007 9:52 AM To: [email protected] Subject: [amibroker] Re: How to add a Quote Mark to a String Try escaping it like this: "\"" Regards, GP --- In [email protected], "Ken Close" <[EMAIL PROTECTED]> wrote: > > I want to use the function StrMid(T1,5,10) to extract a date sequence > of characters from a longer string named T1. > > To convert this date sequence of characters (which can be extracted easily) > into a date, you have to surround them with quote marks, like "05/10/2007". > > So I have a variable holding the characters 05/10/2007 and want and need to > add a quote mark to the beginning and end. > > How do do this? > > Trying double or triple quotemarks does not do it. > > So Var1 = StrMid(T1,5,10); > > Var2 = " " " + Var1 + " " " does not work. > > Can it be done? > > Thanks, > > Ken > Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links
