PureBytes Links
Trading Reference Links
|
Here's how I've been doing it:
if (StrRight(temp_row, 1) < " ")
temp_row = StrLeft(temp_row, StrLen(temp_row) -1);
d
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx
> [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of PKJR
> Sent: Monday, June 26, 2006 9:22 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Removing newline character
>
> I am looping through csv file and parsing a data and I
> forgot about newline characters that fgets includes.. so I am
> trying to remove it now..
> would I basically do:
> if (StrRight(temp_row,2)=="\n")
> ..then.. get the length etc and use StrMid
>
> or is there a simpler way or a built-in function?
>
> Tks/PKJR
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~--> Something is new at Yahoo! Groups.
> Check out the enhanced email design.
> http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/GHeqlB/TM
> --------------------------------------------------------------
> ------~->
>
> 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 other support material please check also:
> http://www.amibroker.com/support.html
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
|