[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Re: How to add a Quote Mark to a String



PureBytes Links

Trading Reference Links

Thanks for that.

Ken 

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of gp_sydney
Sent: Monday, July 30, 2007 9:52 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: How to add a Quote Mark to a String

Try escaping it like this:

"\""

Regards,
GP


--- In amibroker@xxxxxxxxxxxxxxx, "Ken Close" <ken45140@xxx> 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






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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/