[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reading fixed width data?
From: |
CdeMills |
Subject: |
Re: Reading fixed width data? |
Date: |
Tue, 14 Sep 2010 03:11:40 -0700 (PDT) |
forkandwait wrote:
>
> CdeMills <Pascal.Dupuis <at> worldonline.be> writes:
>
>
>> What do you call exactly 'fixed-width' ? Binary ? Delimited by some
>> specific
>> char ?
>
> A given element will be stored in a certain range of character spaces on a
> line,
> all of the same width ("fixed") for every line. In contrast to
> "delimited".
>
> I think I need to use sscanf somehow.
>
>
In this case, you can play with substr to extract one field and sscanf to
read it.
Regards
Pascal
--
View this message in context:
http://octave.1599824.n4.nabble.com/Reading-fixed-width-data-tp2538245p2538752.html
Sent from the Octave - General mailing list archive at Nabble.com.
Re: Reading fixed width data?, Sergei Steshenko, 2010/09/14
Re: Reading fixed width data?, fork, 2010/09/14